You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Jens Muehlenhoff <el...@uni-paderborn.de> on 2000/02/21 18:23:58 UTC

Problems during building docs for xerces-java

Hello,

I searched for this bug in the mailing list, but I didn't find any thing.

I want to build the all from the last repository-update (Mon Feb 21). I
edit the Makefile, so the make could find the programs in my enironment.

java/src/Makefile:
  JAVAC = $(JDK12BIN)/javac -J-mx64m -classpath "$(CLPATH)"
  JAVA = $(JDK12BIN)/java -mx64m -classpath "$(CLPATH)"
  JAVADOC = $(JDK12BIN)/javadoc -J-mx64m -classpath "$(CLPATH)"

  #ifeq ($(JDK12BIN),)
  #  JAVA12 = java -classpath "$(CLPATH)"
  #  JAVADOC12 = javadoc -classpath "$(CLPATH)"
  #  STYLEBOOK = java -classpath "$(SB_CLPATH)" org.apache.stylebook.StyleBook
  #  JAR = jar
  #else
  JAVA12 = $(JDK12BIN)/java -mx64m -classpath "$(CLPATH)"
  JAVADOC12 = $(JDK12BIN)/javadoc -J-mx64m -classpath "$(CLPATH)"
  STYLEBOOK = $(JDK12BIN)/java -mx64m -classpath
              "$(SB_CLPATH)" org.apache.stylebook.StyleBook
              JAR = $(JDK12BIN)/jar -J-mx64m
  #endif

After that I execute the command "make all" and got:
Building Stylebook docs in docs directory
/usr/local/java/jdk1.2/bin/java -mx64m -classpath
"./src:./samples:./tools/stylebook-1.0-b2.jar:./tools/xalan-0.19.2.jar:./tools/xerces-1.0.1.jar:" org.apache.stylebook.StyleBook
"targetDirectory=docs/html" docs/docs-book.xml tools/style-apachexml.jar
[StyleBook] Overriding targetDirectory="docs/html" (Old=".")
[StyleBook] Project URL: "sbk:/sources/docs-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 java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:94)
        at java.lang.Exception.<init>(Exception.java:42)
        at
org.apache.stylebook.LoadingException.<init>(LoadingException.java:34)
        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



What happend?

Bye

Jens

--
**********************************************************************
* Jens Muehlenhoff                                                   *
*                                                                    *
* student of Computer Science                                        *
*                                                                    *
* University of Paderborn (Germany)                                  *
*                                                                    *
* e-mail: elrond@uni-paderborn.de                                    *
**********************************************************************


Re: Problems during building docs for xerces-java

Posted by Andy Clark <an...@apache.org>.
Jens Muehlenhoff wrote:
> I want to build the all from the last repository-update (Mon Feb 21). I
> edit the Makefile, so the make could find the programs in my enironment.

Xerces-J 1.0.2 was just posted. The make system was greatly
simplified and the tools required for building the documentation
are posted as another download in the distribution directory.
Let me know if you have any problems after downloading the new
release and following the build instructions in the README file.

-- 
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org