https://bugzilla.novell.com/show_bug.cgi?id=599500
https://bugzilla.novell.com/show_bug.cgi?id=599500#c2
--- Comment #2 from Jim Campbell 2010-09-25 18:45:00 UTC ---
Hi Karl,
Thanks very much for your work on this. I was able to install the DITA-OT
build that ran successfully. (This is on OpenSUSE 11.3)
When I go to the /usr/share/dita-ot/ directory, and then attempt to build the
sample files, the build fails, though.
As root, I attempted to run: ant samples.web -f build_demo.xml (the output
is as follows . . . )
linux-srwv:/usr/share/dita-ot # ant samples.web -f build_demo.xml
Buildfile: build_demo.xml
use.init:
init:
[mkdir] Created dir: /usr/share/dita-ot/temp/temp20100925133859386
samples.init:
samples.web:
start-process:
init-logger:
init-URIResolver:
use-init.envhhcdir:
use-init.hhcdir:
use-init:
check-arg:
[echo] *****************************************************************
[echo] * basedir = /usr/share/dita-ot
[echo] * dita.dir = /usr/share/dita-ot
[echo] * input = /usr/share/dita-ot/samples/hierarchy.ditamap
[echo] * transtype = xhtml
[echo] * tempdir = temp/temp20100925133859386
[echo] * outputdir = /usr/share/dita-ot/out/samples/web
[echo] * extname = .xml
[echo] * clean.temp = true
[echo] * xslt.parser = XALAN
[echo] *****************************************************************
output-deprecated-msg:
output-css-warn-message:
output-msg:
build-init:
start-preprocess:
gen-list-flag-check:
gen-list-without-flagging:
BUILD FAILED
/usr/share/dita-ot/build_demo.xml:522: The following error occurred while
executing this line:
/usr/share/dita-ot/build_preprocess.xml:25: java.lang.NoClassDefFoundError:
org.dita.dost.reader.GenListModuleReader
Total time: 2 seconds
------------------------------------------------------------------------------------
Perhaps I am doing something wrong, but I thought I would just try to build the
sample files to check things out.
Previously, I had brought up some of these issues on the DITA-Users yahoo
group, and here is some of the feedback I received:
OpenSUSE actually packages dita
and the dita-ot into the equivalent of their "software store," so I
don't need to download the dita-ot from the website and run the
startcmd.sh file. I just issue a command and it installs it all with the
required dependencies. It's designed in that way to just work.
That's all well and good, and I commend OpenSUSE for packaging DITA-OT,
but it still needs a way to add DITA-OT's requirements to the CLASSPATH
environment variable, and to set the DITA_HOME environment variable,
before it Just Works. There aren't many good ways of doing that given
the multitude of different shells used by people.
Perhaps the OpenSUSE people have some mechanism for setting the DITA-OT
processing environment other than running startcmd.sh. You could ask
them, I guess. Sorry I don't know; I'm a Debian girl, and I just added
the necessary environment-setting commands to my .zshenv file.
----------------------------
Might it be possible for the installation process to establish the CLASSPATH
environment variable and DITA_HOME environment variable (i.e., this is a bug in
the install process), or do I need to do that myself (i.e., I am a noob)? I'm
quite green when it comes to java, unfortunately.
Thank you again for your assistance.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.