Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi there. I'm new to this DITA phenomenon and I am attempting to get the FrameMaker 8 plugin to work.
I have installed DITA Open Tool Kit 1.5, along with the other goodies (JDK 1.6.0_14, Apache Ant 1.7.1, JavaHelp, SAXON, and Microsoft® HTML Help). I can get a successful build from the command prompt. However, whenever I generate an HTML output from FrameMaker 8's DITA Generate Output dialog box, I get the following error message:
BUILD FAILED
C:\DITA-OT1.5\ditafm-ant.xml:89: The following error occurred while executing this line:
C:\DITA-OT1.5\build_preprocess.xml:25: java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager
This error message also appears when I try to generate a CHM or PDF output.
Any thoughts? Please advise. Thanks!
Copy link to clipboard
Copied
Hi Lord (?)...
It sounds like your environment variables aren't set up properly. The recent OT versions (since 1.3.3?) provide a "startcmd.bat" file that sets up your environment properly for the current shell. Standard FM8/9 doesn't have access to this file so it relies on all of the required environment variables having been set up in the global environment. This can be somewhat complicated, but it can be done. I think that the documentation for the OT plugin provides information about setting up these environment variables (I don't have that info here, but I can locate it if you're still having trouble).
The real test is to be able to start a command shell (from Start > Run: cmd) and if you can run the OT from there .. you should be able to run it from FM.
It looks like you've got Ant properly set up but you're missing some other items from the environment.
Let me know if you get any further .. I'll be able to provide more details tomorrow.
...scott
Copy link to clipboard
Copied
Hi there Scott. Thanks for the response.
Say, I have the documentation for the OT plugin, and I'll review the settings I made for the environment variables. There's a section called "Setting environment variables" in Appendix 1: Installing the DITA Open Toolkit.
As requested, I'll let you know how it goes.
Thanks for your dedication in providing assitance with DITA-FrameMaker.
Regards,
Barry Parmelee
http://portfolio.thegoldeneye.com
Copy link to clipboard
Copied
Regarding my recent build failure from the DITA Open Tool Kit:
Here's the build failure message:
==================================
transform.topic2fo:
[dita-version] Search finished
[java] java.lang.NoClassDefFoundError: com/icl/saxon/StyleSheet
[java] Caused by: java.lang.ClassNotFoundException: com.icl.saxon.Styl
t
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Metho
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:18
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java
[java] Could not find the main class: com.icl.saxon.StyleSheet. Progr
ll exit.
[java] Exception in thread "main"
[java] Java Result: 1
BUILD FAILED
C:\DITA-OT1.5\build_demo.xml:146: The following error occurred while execut
his line:
C:\DITA-OT1.5\build.xml:338: The following error occurred while executing t
ine:
C:\DITA-OT1.5\demo\fo\build.xml:126: The following error occurred while exe
g this line:
C:\DITA-OT1.5\demo\fo\build.xml:217: The following error occurred while exe
g this line:
C:\DITA-OT1.5\demo\fo\build.xml:200: java.io.FileNotFoundException: C:\DITA
5\temp\stage2.fo (The system cannot find the file specified)
Total time: 26 seconds
===============================
Here are the system variable settings. My additions are in green, based on instructions in the DITA user guide, or rather my interpretation of the instructions in said guide.
ANT_HOME=C:\apache-ant-1.7.1
ANT_OPTS=-Xmx256M
Classpath=C:\DITA-OT1.5\demo\fo\fop\build\fop.jar;C:\DITA-OT1.5\demo\fo\fop\lib\avalon-framework-4.2.0.jar;C:\DITA-OT1.5\demo\fo\fop\lib\batik-all-1.7.jar;C:\DITA-OT1.5\lib\dost.jar;C:\Saxon\saxon.jar
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
JHHOME=C:\jh2.0
Path=C:\Program Files\ThinkPad\Utilities;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files\Utimaco\SafeGuard Easy\;C:\Program Files\Perforce;C:\Program Files\Common Files\Lenovo;C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML;C:\apache-ant-1.7.1\bin
Any assistance is, of course, appreciated. Thanks!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more