CVS Update: Barracuda
[email protected] Thu, 14 Nov 2002 13:42:01 ()
| Newsgroups | gmane.comp.java.enhydra.barracuda.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /u/cvs Module name: Barracuda Repository: Projects/EnhydraOrg/toolsTech/Barracuda/src/ Changes by: JacobK@frogger. 02/11/14 13:42:01 Modified files: Projects/EnhydraOrg/toolsTech/Barracuda/src/: build.xml Log message: updated build.xml to include xalan and xerces (from WEB-INF/jars) in the classpath built inside the build.xml. The reason for the change is to support Jikes. Even though I have xerces-1.4.4-xmlc-2.1.jar in JAVA_HOME/jre/lib/endorsed, Jikes-1.17 doesn't see it unless it is specifically put on the classpath. Since Ant uses Xerces-2.x.x, there are some methods in DOMParser (and a few other things) that it doesn't see. The solution is one of the following: 1. put xerces-1.4.4-xmlc-2.1.jar on the system classpath 2. put xerces-1.4.4-xmlc-2.1.jar in AN_HOME/lib 3. include xerces-1.4.4-xmlc-2.1.jar in the classpath built internally by build.xml #3 seems to me to be the most transparent thing to do. I left it off before because javac doesn't require it since it gets it from the endorsed directory. I suppose this would also fix issues with compiling under JDK1.3 unless xerces-1.4.4-xmlc-2.1.jar was put in jre/lib/ext or something. Anway, this should affect anyone not using Jikes and should make it work for those who want to use Jikes. Jake =================================================================== File: no file build.xml Status: Needs Checkout Working revision: 1.95 Thu Nov 14 21:42:01 2002 Repository revision: 1.95 /u/cvs/Projects/EnhydraOrg/toolsTech/Barracuda/src/build.xml,v Existing Tags: BARRACUDA_PRE_REFACTORING (revision: 1.92) Barracuda_1_1_1 (revision: 1.75) Barracuda_1_1_0 (revision: 1.70) BARRACUDA_1_0_FINAL (revision: 1.44) Barracuda_1_0_3 (revision: 1.9) Barracuda_1_0_2 (revision: 1.7) Barracuda_1_0_1 (revision: 1.1) Barracuda_1_0_0 (revision: 1.1)