You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2001/08/01 21:17:28 UTC

Error creating api docs

Hey All,

I converted the createdocs.bat file to a shell script:

#!/bin/sh
JAVA_HOME=/usr/local/jdk1.2.2
JAVA=$JAVA_HOME/bin/java
JAR_DIR=tools/jars
CLASSPATH=$JAR_DIR/stylebook-1.0-b2.jar:$JAR_DIR/xalan.jar:$JAR_DIR/xerces.jar 
$JAVA -classpath $CLASSPATH org.apache.stylebook.StyleBook targetDirectory=doc/html doc/xerces-c_book.xml $JAR_DIR/style-apachexml.jar

This used to work for Xerces-C-1.4, but stopped working at 1.5.0. Here
is the error I get:

~/work/xml-xerces/c $ ./createdocs.sh
[StyleBook] Overriding targetDirectory="doc/html" (Old=".")
[StyleBook] Project URL: "sbk:/sources/xerces-c_book.xml"
[BasicEngine] Initializing
[Loader] Parsing Project file
[XalanProcessor] Applying XSL sheet "sbk:/style/stylesheets/book2project.xsl"
[Loader] Caught java.util.zip.ZipException
[StyleBook] Caught org.apache.stylebook.LoadingException
org.apache.stylebook.LoadingException: error in opening zip file
	at org.apache.stylebook.Loader.load(Loader.java:61)
	at org.apache.stylebook.StyleBook.getProject(StyleBook.java:121)
	at org.apache.stylebook.StyleBook.main(StyleBook.java:85)
[StyleBook] Error creating project

This does not seem like a very useful error message, it doesn't tell
me *which* file it has an error opening. Can anyone give me a
suggestion of how to figure out more of what's really going on here?

Thanks,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org