Help with DITA-OT 1.4.3 and Antenna House v62 configuration
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 38
- Joined: Thu Oct 28, 2010 5:10 pm
Help with DITA-OT 1.4.3 and Antenna House v62 configuration
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:
Please assist with the above.
My environment is oXygen 15.2 on Windows 7 x64.
Thanks for your attention.
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)
My environment is oXygen 15.2 on Windows 7 x64.
Thanks for your attention.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 38
- Joined: Thu Oct 28, 2010 5:10 pm
Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat
Thanks Radu,
Here is the full console output.
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
-
- Posts: 38
- Joined: Thu Oct 28, 2010 5:10 pm
Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat
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.
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
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Help with DITA-OT 1.4.3 and Antenna House v62 configurat
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:
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:
So probably in the build.xml you should modify:
to be something like:
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
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">
.........
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"
Code: Select all
<condition property="use.ahf.pdf.formatter">
<equals arg1="${pdf.formatter}" arg2="ahf"/>
</condition>
Code: Select all
<condition property="use.ahf.pdf.formatter">
<equals arg1="${pdf.formatter}" arg2="ah"/>
</condition>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service