How do I build xalan-c from CVS? There isn't a trace of documentation
that I can see.
I changed to the c directory. Noting the presence of a build.xml, I
tried typing:
ant
That produces:
Buildfile: build.xml
prepare:
[gunzip] Expanding /home/colin/xml-xalan/c/xdocs/xml-site-style.tar.gz to
/home/colin/xml-xalan/c/xdocs/xml-site-style.tar
[untar] Expanding: /home/colin/xml-xalan/c/xdocs/xml-site-style.tar into
/home/colin/xml-xalan/c/xdocs
[delete] Deleting: /home/colin/xml-xalan/c/xdocs/xml-site-style.tar
[mkdir] Created dir: /home/colin/xml-xalan/c/build/docs/apidocs
[mkdir] Created dir: /home/colin/xml-xalan/c/xml-site/apidocs
docs:
[java] [StyleBook] Overriding targetDirectory="./build/docs" (Old=".")
[java] [StyleBook] Project URL: "sbk:/sources/xalanLocal.xml"
[java] Exception in thread "main" java.lang.VerifyError: (class:
org/apache/stylebook/parsers/XercesParser, method: parse signature:
(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) Incompatible object argument
for function call
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:140)
[java] at
org.apache.stylebook.ComponentFactory.getComponent(ComponentFactory.java:35)
[java] at
org.apache.stylebook.ComponentFactory.getParser(ComponentFactory.java:62)
[java] at org.apache.stylebook.BasicEngine.<init>(BasicEngine.java:56)
[java] at org.apache.stylebook.StyleBook.getEngine(StyleBook.java:110)
[java] at org.apache.stylebook.StyleBook.main(StyleBook.java:83)
[java] Java Result: 1
BUILD SUCCESSFUL
I was particularly impressed with the BUILD SUCESSFUL bit!
--
Colin Paul Adams
Preston Lancashire