I got a little closer to a working manual build; I can now build the
printable html version (which is the first time I have ever been able to
build anything from this module). I did have to increase the max heap for
ant, but after that it will consistently build:
ANT_OPTS="-Xmx256m" ./build.sh clean html-printable
256m is probably a bit high, but this takes a long time, so I didn't want to
get near the end and have it complain again.
I am running into problems with xerces and xalan as well as fop. I am
testing all of this relative the the html-printable target, since that is
the only one I was able to build. The html-default target is getting
closer, but complains about an out of bound array.
I get this error when using xerces(2_0_0_beta2), actually I get this if the
xerces jar is in tools/lib. Perhaps I should use a different version, but
other versions seem to cause my vm to crash (every time), this version
does not:
javax.xml.transform.TransformerConfigurationException:
xsl:param requires attribute: name
I also tried using the latest xalan (2_2_D9), which produces errors like
this:
javax.xml.transform.TransformerException
I am not really sure what version of xalan is in tools/lib, but it seems to
work best.
I moved the docbook stuff from src/docs* to thirdparty and updated files to
reference that directory from the property/filter @oasis.docbook.xml.root@
for docbook (xml) and @oasis.docbook.xsl.root@ for docbook stylesheets.
I also moved the stylesheet from docs to stylesheets and rehooked up the
compile-* targets so that the property/filter stuff would work again.
It dosen't look like <style> (or <junitreport>) needs xalanj1compat.jar
anymore, so I removed it.
The html-default manual chugs along with output like this:
file:///nfs/home/jason/ws/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/chunker.xsl;
Line 87; Column -1; Writing pr01.html for preface
but will eventually crash with:
file:///nfs/home/jason/ws/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/chunker.xsl;
Line 87; Column -1; Writing ch04s11.html for section(howto-mssql)
[style] Failed to process
/nfs/home/jason/ws/jboss/jboss-all/manual/output/docs/jbossdocs.xml
BUILD FAILED
javax.xml.transform.TransformerException: String index out of range: -3
Fop seems to want Xerces available for it to work at all. Once it starts it
will spit out some fluff, then consume all cpu on the machine and produce no
more output. It does get to putting a little bit of data into the
manual.pdf output file, but I have never seend it get bigger than 1003
bytes. I had to add batik.jar to tools/lib also to get to the point where
it hangs, or a CNFE would be thrown.
Has anyone *ever* gotten the fop task to work? Does it just take hours and
hours to complete?
Does anyone know why String index out of range: -3 happens?
Is there a better way to produce documents that isn't so prone to
disfunction?
--jason
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development