Help with DITA-OT 1.4.3 and Antenna House v62 configuration

eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Help with DITA-OT 1.4.3 and Antenna House v62 configuration

Post by eloralon » Wed Mar 19, 2014 7:29 am

Hello oXygen support group,

I have installed Antenna House v62 and I am trying to use it with DITA-OT1.4.3, but I am having the following error in oXygen console:

Code: Select all

BUILD FAILED
C:\DITA-OT1.4.3\build.xml:59: The following error occurred while executing this line:
C:\DITA-OT1.4.3\build.xml:338: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:181: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:283: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:266: java.io.FileNotFoundException: C:\DITA\book\Chapter1\temp\pdf\oxygen_dita_temp\stage2.fo (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration.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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.idiominc.ws.opentopic.fo.i18n.PreprocessorTask.execute(PreprocessorTask.java:71)
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.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.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.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)
Please assist with the above.

My environment is oXygen 15.2 on Windows 7 x64.

Thanks for your attention.

Radu
Posts: 7024
Joined: Fri Jul 09, 2004 5:18 pm

Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat

Post by Radu » Wed Mar 19, 2014 9:23 am

Hi,

You posted only the last part of the console output received from ANT. We need more details.
Please post (or send to support@oxygenxml.com an attachment with) the entire output received from the ANT process during the transformation.

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

eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat

Post by eloralon » Wed Mar 19, 2014 1:53 pm

Thanks Radu,

Here is the full console output.

Code: Select all

Executing:
"c:\program files\oxygen xml editor 15\jre/bin/java" -Xmx384m "-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration" -classpath "C:\Program Files\Oxygen XML Editor 15/tools/ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files\Oxygen XML Editor 15/tools/ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files\Oxygen XML Editor 15\classes" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygen.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygenAuthor.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygenDeveloper.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygenEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygenAuthorEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\oxygenDeveloperEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\resolver.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\org.eclipse.wst.xml.xpath2.processor_1.2.0.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\xml-apis.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\xercesImpl.jar" -lib "C:\DITA-OT1.4.3" -lib "C:\Program Files\Oxygen XML Editor 15\lib\commons-io-1.3.1.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\commons-logging-1.1.1.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\log4j.jar" -lib "C:\DITA-OT1.4.3\lib\dost-patches.jar" -lib "C:\DITA-OT1.4.3\lib" -lib "C:\DITA-OT1.4.3\lib\dost.jar" -lib "C:\DITA-OT1.4.3\lib\commons-codec-1.4.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\jing.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\saxon9ee.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\saxon.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\xmlgraphics-commons-1.5.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\fop.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\batik-all-1.7.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\xml-apis-ext.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\avalon-framework-4.2.0.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\jeuclid-core.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\jeuclid-fop.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\jai_tiff.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\jh.jar" -lib "C:\DITA-OT1.4.3\lib\jsearch.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\lucene-analyzers-common-4.0.0.jar" -lib "C:\Program Files\Oxygen XML Editor 15\lib\lucene-core-4.0.0.jar" -lib "C:\DITA-OT1.4.3\plugins\com.oxygenxml.webhelp\lib\xhtml-indexer.jar" -lib "C:\DITA-OT1.4.3\plugins\com.oxygenxml.highlight\lib\xslthl-2.1.0.jar" -lib "C:\DITA-OT1.4.3\plugins\com.oxygenxml.highlight\lib\xslthl-saxonee-extension.jar" -f "C:\DITA-OT1.4.3/build.xml" "-Dtranstype=pdf2" "-Dbasedir=C:\DITA-OT1.4.3\samples" "-Doutput.dir=C:\DITA-OT1.4.3\samples/out/pdf" "-Dwebhelp.trial.license=no" "-Ddita.temp.dir=C:\DITA-OT1.4.3\samples/temp/pdf" "-Dpdf.formatter=ah" "-Dxep.failOnError=true" "-Ddita.dir=C:\DITA-OT1.4.3" "-Dargs.input=C:\DITA-OT1.4.3\samples\hierarchy.ditamap" "-DbaseJVMArgLine=-Xmx384m"

Buildfile: C:\DITA-OT1.4.3\build.xml

init:

pdfswitch-warning:

start-process:

init-logger:

use-init.envhhcdir:

use-init.hhcdir:

use-init:

check-arg:
[mkdir] Created dir: C:\DITA-OT1.4.3\samples\temp\pdf
[echo] *****************************************************************
[echo] * basedir = C:\DITA-OT1.4.3\samples
[echo] * dita.dir = C:\DITA-OT1.4.3
[echo] * input = C:\DITA-OT1.4.3\samples\hierarchy.ditamap
[echo] * transtype = pdf2
[echo] * tempdir = C:\DITA-OT1.4.3\samples/temp/pdf
[echo] * outputdir = C:\DITA-OT1.4.3\samples/out/pdf
[echo] * extname = .xml
[echo] * clean.temp = ${clean.temp}
[echo] * xslt.parser = SAXON
[echo] *****************************************************************

output-deprecated-msg:

output-css-warn-message:

start-preprocess:

clean-temp:

gen-list-flag-check:

gen-list-without-flagging:
[pipeline] Using XERCES.

gen-list-with-flagging:

gen-list:

debug-filter-flag-check:

debug:

debug-and-filter:

debug-filter:

copy-image-check:

copy-image:
[copy] Copying 1 file to C:\DITA-OT1.4.3\samples\out\pdf

copy-html-check:

copy-html:

copy-flag-check:

copy-flag:

copy-subsidiary-check:

copy-subsidiary:

copy-generated-files:
[copy] Copying 2 files to C:\DITA-OT1.4.3\samples\out\pdf

copy-files:

conrefpush-check:

conrefpush:

conref-check:

conref:

move-meta-entries-check:

move-meta-entries:

keyref-check:

keyref:

coderef-check:

coderef:

mapref-check:

mapref:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\hierarchy.ditamap.ref
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\mapref.xsl
[move] Moving 1 file to C:\DITA-OT1.4.3\samples\temp\pdf

mappull-check:

mappull:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\hierarchy.ditamap.pull
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\mappull.xsl
[move] Moving 1 file to C:\DITA-OT1.4.3\samples\temp\pdf

chunk-check:

chunk:

maplink-check:

maplink:
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\maplinks.unordered
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\maplink.xsl

move-links-check:

move-links:

topicpull-check:

topicpull:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\garageconceptsoverview.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\garageconceptsoverview.xml.pull
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\topicpull.xsl
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\lawnmower.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\lawnmower.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\oil.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\oil.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\paint.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\paint.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\shelving.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\shelving.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\snowshovel.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\snowshovel.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\toolbox.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\toolbox.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\tools.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\tools.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\waterhose.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\waterhose.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\wheelbarrow.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\wheelbarrow.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\workbench.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\workbench.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\concepts\wwfluid.xml to C:\DITA-OT1.4.3\samples\temp\pdf\concepts\wwfluid.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\changingtheoil.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\changingtheoil.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\garagetaskoverview.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\garagetaskoverview.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\organizing.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\organizing.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\shovellingsnow.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\shovellingsnow.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\spraypainting.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\spraypainting.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\takinggarbage.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\takinggarbage.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\tasks\washingthecar.xml to C:\DITA-OT1.4.3\samples\temp\pdf\tasks\washingthecar.xml.pull
[move] Moving 19 files to C:\DITA-OT1.4.3\samples\temp\pdf

preprocess:

dita-preprocess:

map2pdf2:

publish.map.pdf:
[echo] dita.temp.dir=C:\DITA-OT1.4.3\samples/temp/pdf work.dir=C:\DITA-OT1.4.3\samples/temp/pdf
[echo] dita.dir=C:\DITA-OT1.4.3
[echo] basedir=C:\DITA-OT1.4.3\demo\fo

transform.topic2pdf:

copyCoreArtwork:
[copy] Copying 2 files to C:\DITA-OT1.4.3\samples\out\pdf\Configuration\OpenTopic
[copy] Copying 1 file to C:\DITA-OT1.4.3\samples\out\pdf\Customization\OpenTopic

transform.topic2fo:
[dita-version] Search finished
[java] Command line option -o requires a value
[java] Java Result: 2

BUILD FAILED
C:\DITA-OT1.4.3\build.xml:59: The following error occurred while executing this line:
C:\DITA-OT1.4.3\build.xml:338: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:181: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:283: The following error occurred while executing this line:
C:\DITA-OT1.4.3\demo\fo\build.xml:266: java.io.FileNotFoundException: C:\DITA-OT1.4.3\samples\temp\pdf\stage2.fo (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration.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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.idiominc.ws.opentopic.fo.i18n.PreprocessorTask.execute(PreprocessorTask.java:71)
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.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.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.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)

Total time: 8 seconds

The process finished with exit code: 1

eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat

Post by eloralon » Wed Mar 19, 2014 2:09 pm

Hello again Radu,

When I edited and changed the libraries to the ones that come with DITA-OT1.4.3 under the transformation advanced tab, I get transformation successful but I don't a PDF only the fo file is generated as can be seen in the below log. It looks like something is not right with "ahf" set as pdf.formatter.

Code: Select all

Executing:
"C:\Program Files\Java\jdk1.7.0_45\jre/bin/java" -Xmx384m -classpath "C:\DITA-OT1.4.3\tools\ant/lib/ant-launcher.jar" "-Dant.home=C:\DITA-OT1.4.3\tools\ant" org.apache.tools.ant.launch.Launcher -lib "C:\DITA-OT1.4.3\lib\batik.jar" -lib "C:\DITA-OT1.4.3\lib\batik-rasterizer.jar" -lib "C:\DITA-OT1.4.3\lib\batik-squiggle.jar" -lib "C:\DITA-OT1.4.3\lib\batik-svgpp.jar" -lib "C:\DITA-OT1.4.3\lib\batik-ttf2svg.jar" -lib "C:\DITA-OT1.4.3\lib\dost.jar" -lib "C:\DITA-OT1.4.3\lib\icu4j.jar" -lib "C:\DITA-OT1.4.3\lib\resolver.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-dom.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-jdom.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-dom4j.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-s9api.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-sql.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-xom.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-xpath.jar" -lib "C:\DITA-OT1.4.3\lib\saxon\saxon9-xqj.jar" -f "C:\DITA-OT1.4.3/build.xml" "-Dtranstype=pdf2" "-Dbasedir=C:\DITA-OT1.4.3\samples" "-Doutput.dir=C:\DITA-OT1.4.3\samples/out/pdf" "-Dwebhelp.trial.license=no" "-Ddita.temp.dir=C:\DITA-OT1.4.3\samples/temp/pdf/oxygen_dita_temp" "-Dpdf.formatter=ah" "-Dxep.failOnError=true" "-Ddita.dir=C:\DITA-OT1.4.3" "-Dargs.input=C:\DITA-OT1.4.3\samples\hierarchy.ditamap" "-DbaseJVMArgLine=-Xmx384m"

Buildfile: C:\DITA-OT1.4.3\build.xml

init:

pdfswitch-warning:

start-process:

init-logger:

use-init.envhhcdir:

use-init.hhcdir:

use-init:

check-arg:
[echo] *****************************************************************
[echo] * basedir = C:\DITA-OT1.4.3\samples
[echo] * dita.dir = C:\DITA-OT1.4.3
[echo] * input = C:\DITA-OT1.4.3\samples\hierarchy.ditamap
[echo] * transtype = pdf2
[echo] * tempdir = C:\DITA-OT1.4.3\samples/temp/pdf/oxygen_dita_temp
[echo] * outputdir = C:\DITA-OT1.4.3\samples/out/pdf
[echo] * extname = .xml
[echo] * clean.temp = ${clean.temp}
[echo] * xslt.parser = SAXON
[echo] *****************************************************************

output-deprecated-msg:

output-css-warn-message:

start-preprocess:

clean-temp:

gen-list-flag-check:

gen-list-without-flagging:
[pipeline] Using XERCES in SUN JDK 1.5

gen-list-with-flagging:

gen-list:

debug-filter-flag-check:

debug:

debug-and-filter:

debug-filter:

copy-image-check:

copy-image:

copy-html-check:

copy-html:

copy-flag-check:

copy-flag:

copy-subsidiary-check:

copy-subsidiary:

copy-generated-files:
[copy] Copying 2 files to C:\DITA-OT1.4.3\samples\out\pdf

copy-files:

conrefpush-check:

conrefpush:

conref-check:

conref:

move-meta-entries-check:

move-meta-entries:

keyref-check:

keyref:

coderef-check:

coderef:

mapref-check:

mapref:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\hierarchy.ditamap.ref
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\mapref.xsl
[move] Moving 1 file to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp

mappull-check:

mappull:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\hierarchy.ditamap.pull
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\mappull.xsl
[move] Moving 1 file to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp

chunk-check:

chunk:

maplink-check:

maplink:
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\hierarchy.ditamap to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\maplinks.unordered
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\maplink.xsl

move-links-check:

move-links:

topicpull-check:

topicpull:
[xslt] Transforming into C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\garageconceptsoverview.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\garageconceptsoverview.xml.pull
[xslt] Loading stylesheet C:\DITA-OT1.4.3\xsl\preprocess\topicpull.xsl
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\lawnmower.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\lawnmower.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\oil.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\oil.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\paint.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\paint.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\shelving.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\shelving.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\snowshovel.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\snowshovel.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\toolbox.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\toolbox.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\tools.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\tools.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\waterhose.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\waterhose.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\wheelbarrow.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\wheelbarrow.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\workbench.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\workbench.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\wwfluid.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\concepts\wwfluid.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\changingtheoil.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\changingtheoil.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\garagetaskoverview.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\garagetaskoverview.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\organizing.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\organizing.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\shovellingsnow.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\shovellingsnow.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\spraypainting.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\spraypainting.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\takinggarbage.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\takinggarbage.xml.pull
[xslt] Processing C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\washingthecar.xml to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp\tasks\washingthecar.xml.pull
[move] Moving 19 files to C:\DITA-OT1.4.3\samples\temp\pdf\oxygen_dita_temp

preprocess:

dita-preprocess:

map2pdf2:

publish.map.pdf:
[echo] dita.temp.dir=C:\DITA-OT1.4.3\samples/temp/pdf/oxygen_dita_temp work.dir=C:\DITA-OT1.4.3\samples/temp/pdf/oxygen_dita_temp
[echo] dita.dir=C:\DITA-OT1.4.3
[echo] basedir=C:\DITA-OT1.4.3\demo\fo

transform.topic2pdf:

copyCoreArtwork:

transform.topic2fo:
[dita-version] Search finished

transform.fo2pdf:

transform.fo2pdf.xep:

transform.fo2pdf.fop:

transform.fo2pdf.ahf:

topic2pdf2:

dita2pdf2:

BUILD SUCCESSFUL
Total time: 9 seconds

The process finished with exit code: 0

Radu
Posts: 7024
Joined: Fri Jul 09, 2004 5:18 pm

Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat

Post by Radu » Wed Mar 19, 2014 3:02 pm

Hi,

In the first failure log indeed the problem was that you were using the Saxon 9 XSLT processor libraries which come with Oxygen and are newer than the ones which come bundled with the DITA OT (some deprecated command line arguments set by the build file are no longer accepted by the new Saxon 9 libraries).

Now for the second log you sent, I also looked in the build.xml you posted on the DITA Users List, it's from a plugin developed by Antenna House, right? It contains at some point:

Code: Select all

<target name="transform.fo2pdf.ahf" if="use.ahf.pdf.formatter">

.........
which would mean that the target is executed only if the parameter "use.ahf.pdf.formatter" is true.
That parameter is true if the "pdf.formatter" parameter is set to "ahf".
But if you look in the log file you posted at the command line which is run by Oxygen to start the ANT process, Oxygen sends the parameter as:

Code: Select all

"-Dpdf.formatter=ah" 
So probably in the build.xml you should modify:

Code: Select all

	<condition property="use.ahf.pdf.formatter">
<equals arg1="${pdf.formatter}" arg2="ahf"/>
</condition>
to be something like:

Code: Select all

	<condition property="use.ahf.pdf.formatter">
<equals arg1="${pdf.formatter}" arg2="ah"/>
</condition>
In my opinion Oxygen sends the proper value for the parameter because the regular build files require it to be "ah" for Antenna House, probably the build.xml created by Antenna House requires this slightly changed value.

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

eloralon
Posts: 38
Joined: Thu Oct 28, 2010 5:10 pm

Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat

Post by eloralon » Thu Mar 20, 2014 6:46 am

Thanks Radu. I worked fine.

Post Reply