Has anyone got DITA-OT 1.6 working yet?

mkaatman
Posts: 2

Has anyone got DITA-OT 1.6 working yet?

Wed Jun 27, 2012 10:31 pm

The 1.6 open toolkit was released today.
http://dita-ot.sourceforge.net/1.6/read ... el1.6.html

There are a lot of bug fixes, and one semi-major change. The demo directory has finally been abandoned!

From the README:
-----------
The demo folder has been deprecated and the following plug-ins have been moved to plugins folder:

* demo/dita11 -> plugins/org.dita.specialization.dita11
* demo/dita132 -> plugins/org.dita.specialization.dita132
* demo/eclipsemap -> plugins/org.dita.specialization.eclipsemap
* demo/fo -> plugins/org.dita.pdf2
* demo/tocjs -> plugins/com.sophos.tocjs

The following plug-ins in the demo folder have been moved to a separate
plug-ins Git repository <https://github.com/dita-ot/ext-plugins>:

* demo/FrameMaker_adapter
* demo/apiref
* demo/authorinfo
* demo/book
* demo/elementref
* demo/enote
* demo/faq
* demo/h2d
* demo/java
* demo/javaapiref
* demo/legacypdf
* demo/music
* demo/thesaurus
* demo/tutorial
* demo/video
-----------

I tried to setup a transform type based on PDF:
Clean.output=yes
Outer.control=quiet
Customization.dir=C:\DITA-OT\1.6\plugins\org.dita.pdf2\PDF_user
Dita.dir= C:\DITA-OT\1.6\
Args.chapter.layout=BASIC
Args.input=${cf}

But I’m getting a nasty stack trace.


Code: Select all

BUILD FAILED
C:\DITA-OT\1.6\build.xml:47: The following error occurred while executing this line:
C:\DITA-OT\1.6\plugins\org.dita.base\build_preprocess.xml:27: java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.SubstitutionGroupHandler.<init>(Lorg/apache/xerces/impl/xs/XSGrammarBucket;)V
   at org.apache.xerces.impl.xs.XMLSchemaValidatorXerces.<init>(Unknown Source)
   at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.configurePipeline(Unknown Source)
   at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.configurePipeline(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.dita.dost.reader.GenListModuleReader.parse(GenListModuleReader.java:617)
   at org.dita.dost.module.GenMapAndTopicListModule.processFile(GenMapAndTopicListModule.java:449)
   at org.dita.dost.module.GenMapAndTopicListModule.processWaitList(GenMapAndTopicListModule.java:418)
   at org.dita.dost.module.GenMapAndTopicListModule.execute(GenMapAndTopicListModule.java:288)
   at org.dita.dost.pipeline.PipelineFacade.execute(PipelineFacade.java:63)
   at org.dita.dost.invoker.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:266)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   at org.apache.tools.ant.Task.perform(Task.java:348)
   at org.apache.tools.ant.Target.execute(Target.java:390)
   at org.apache.tools.ant.Target.performTasks(Target.java:411)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
   at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
   at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   at org.apache.tools.ant.Task.perform(Task.java:348)
   at org.apache.tools.ant.Target.execute(Target.java:390)
   at org.apache.tools.ant.Target.performTasks(Target.java:411)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
   at org.apache.tools.ant.Main.runBuild(Main.java:809)
   at org.apache.tools.ant.Main.startAnt(Main.java:217)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Radu
Posts: 5257

Re: Has anyone got DITA-OT 1.6 working yet?

Thu Jun 28, 2012 10:36 am

Hi,

Please see this Oxygen Users List thread:

http://www.oxygenxml.com/pipermail/oxygen-user/2012-June/004192.html

Oxygen 14 (which has just been released) already has the libraries order changed in the default libraries list.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mkaatman
Posts: 2

Re: Has anyone got DITA-OT 1.6 working yet?

Thu Jun 28, 2012 4:52 pm

Thank you Radu! I will try it out now. I am also signing up for the mailing list.

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest