Hi Colin,

There's loads of documentation on the web site:

   http://xml.apache.org/xalan-c/

In particular, see this FAQ:

   http://xml.apache.org/xalan-c/faq.html#faq-7

I suspect the build.xml file was put there by our doc writer, who is a
Java-centric person.  We don't use ant to build Xalan-C.

Dave



                                                                                
                                        
                      Colin Paul Adams                                          
                                        
                      <[EMAIL PROTECTED]         To:      
[email protected]                                    
                      mon.co.uk>               cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                            
                                               Subject: How do I build from 
CVS?                                        
                      01/17/2003 08:06                                          
                                        
                      AM                                                        
                                        
                                                                                
                                        



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



Reply via email to