Mathieu Malaterre <mathieu.malaterre gmail.com>, 2007-02-24 17:44 -0500:
> and looking into /usr/share/java I have:
> (ref: http://
wiki.docbook.org/topic/DocBookXslBuild)
>
> $ ls xercesImpl.jar xml-commons-resolver-1.1.jar
jaxp-1.2.jar
> saxon.jar saxon65.jar ant.jar ant-launcher.jar
xalan25.jar
> xalan-j2.jar xml-commons-apis.jar
> /bin/ls: saxon65.jar: No such file or directory
> /bin/ls: xalan25.jar: No such file or directory
> /bin/ls: xalan-j2.jar: No such file or directory
> /bin/ls: xml-commons-apis.jar: No such file or
directory
> ant.jar ant-launcher.jar jaxp-1.2.jar saxon.jar
xercesImpl.jar
> xml-commons-resolver-1.1.jar
>
> Do I really need those jar files ?
You need to install at least these Debian packages:
libxalan2-java
libsaxon-java
libxml-commons-resolver1.1-java
libxerces-java
ant
I'm not sure you still need to install jaxp, but you do need
to
add all of the jars from those packages to your java
classpath,
including the xml-apis and xercesimpl jars
On my Debian machine, I have the following in my .bashrc:
# directory containing all your jar files
export JARDIR=/usr/share/java
export
CLASSPATH=$CLASSPATH:$JARDIR/xml-commons-resolver-1.1.jar
export CLASSPATH=$CLASSPATH:$JARDIR/xercesimpl.jar
export CLASSPATH=$CLASSPATH:$JARDIR/xml-apis.jar
export CLASSPATH=$CLASSPATH:$JARDIR/xalan2.jar
export CLASSPATH=$CLASSPATH:$JARDIR/saxon.jar
As far as the saxon65.jar and xalan25.jar files, those are
probably filenames of jars that contain sets of DocBook XSLT
Java
extensions. They are not build dependencies -- they're built
by
the docbook-xsl build process. But note that the current
build
does not make a file called xalan25.jar. Instead it builds
files
called xalan2.jar and xalan27.jar. We probably don't really
need
to have the build making both of those and will likely
change the
build setup soon so that only one is built. I guess it will
probably just be called xalan.jar.
Those files are built in your docbook-xsl working
directory,
whatever local path on your system maps to the following SVN
URL:
https://docbook.svn.sourceforge.net/svnr
oot/docbook/trunk/xsl/extensions
Anyway, if you are trying to get a working docbook-xsl
build
environment set up, you are likely to run into some other
errors.
The best way to get help with them is probably to get on
the
#docbook channel on irc.freenode.net and look for me (my
handle
there is #xmldoc) or Norm Walsh (ndw) or Camille Bgnis
(camil)
and tell what error messages you're getting, and one of us
can
walk you through fixing them (if we have time...)
--Mike
--
Michael(tm) Smith
http://people.w3.org/mike/
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|