at .Project.executeSortedTargets(Project.java:1399)Ĭ:\dita-ot-3.2.1\build.xml:46: The following error occurred while executing this line:Ĭ:\dita-ot-3.2.1\plugins\\build_dita2suitehelp.xml:362: Īt .IndexTermCollection.outputTerms(IndexTermCollection.java:196)Īt .IndexTermExtractModule.execute(IndexTermExtractModule.java:77)Īt .ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169)Īt .UnknownElement.execute(UnknownElement.java:292)Īt (Unknown Source)Īt (Unknown Source)Īt .invoke(Unknown Source)Īt .(DispatchUtils.java:106)Īt .Task.perform(Task.java:350)Īt .Target.execute(Target. at .Target.performTasks(Target.java:469) at .UnknownElement.execute(UnknownElement.java:292) at .ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:169) at .IndexTermExtractModule.execute(IndexTermExtractModule.java:77)
at .IndexTermCollection.outputTerms(IndexTermCollection.java:165) When I run the same setup in Oxygen 21.1, it works fine.įile:/C:/dita-ot-3.2.1/plugins//build_dita2suitehelp.xml:362:110: Attribute is deprecated. I created the transformation scenario by clicking New in the dialog, DITA OT Transformation, then HTML5, and then I set it up with my OT and transtype. This is the only way to do this, unlike JavaScript with the typeof () method to check type. In Java, to get type of a variable or a value, we can use getClass () method of Object class.
#TRANSTYPE IN JAVA HOW TO#
This command line runs successfully:īin\dita -f suitehelp -i "C:\path\to\mymap.ditamap" -vīut when I try to run the same OT, transtype and ditamap in Oxygen v.18.1, the build fails with the errors below near the end of the build. This tutorial introduces how to get the data type of a variable or value in Java and lists some example codes to understand the topic. Using DITA OT 3.2.1, running HTML-based output (Suitehelp).