[EMAIL PROTECTED] wrote:
> 
> >Let me restate so I'm clear on what's going on, and hopefully others will
> >be too:
> 
> Close...
> 
> At this time there really are some compile-time dependencies on Xerces.

I am trying to execute the "compile" target of Xalan, but it fails with
the following error:

% ant compile
Buildfile: build.xml

prepare:
     [echo] Project:Xalan-Java version:2_2_D14 build.xml Revision: 1.146
$

compile:
     [echo] compile entire source tree and copy .properties and .res
files to build tree.
   [gunzip] Expanding /tmp/jp2/xalan/src/xml-commons-src.tar.gz to
/tmp/jp2/xalan/build/xml-commons-src.tar
    [untar] Expanding: /tmp/jp2/xalan/build/xml-commons-src.tar into
/tmp/jp2/xalan/src
   [delete] Deleting: /tmp/jp2/xalan/build/xml-commons-src.tar
    [javac] Compiling 192 source files to /tmp/jp2/xalan/build/classes
    [javac]
/tmp/jp2/xalan/src/org/apache/xml/dtm/ref/IncrementalSAXSource_Xerces.java:63:
cannot resolve symbol
    [javac] symbol  : class SAXParser  
    [javac] location: package parsers
    [javac] import org.apache.xerces.parsers.SAXParser;
    [javac]                                  ^
    [javac]
/tmp/jp2/xalan/src/org/apache/xml/dtm/ref/IncrementalSAXSource_Xerces.java:103:
cannot resolve symbol

It appears that xerces.jar is not on the classpath.  Should this be in
the Xalan build.xml file?  I see a bin/xerces.jar, but I don't see it
used in the build.xml file from a quick scan.

How are others succesfully building the Xalan tip?

-Edwin

Reply via email to