grchiu 2003/06/23 07:26:57
Modified: java build.xml
Log:
Fixing a build issue for JDKs that include XSLTC (specifically, the
JavaCupRedirect class) but not java_cup.jar. Need to put java_cup.jar
and runtime.jar on the bootclasspath.
Revision Changes Path
1.195 +4 -2 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -r1.194 -r1.195
--- build.xml 6 Jun 2003 14:41:43 -0000 1.194
+++ build.xml 23 Jun 2003 14:26:57 -0000 1.195
@@ -350,6 +350,8 @@
<java fork="yes" failonerror="true"
classname="org.apache.xalan.xsltc.util.JavaCupRedirect" >
<classpath refid="xsltc.class.path" />
+ <!-- need to bootclasspath java_cup for JDKs that include
JavaCupRedirect -->
+ <jvmarg
value="-Xbootclasspath/p:${java_cup.jar}${path.separator}${runtime.jar}"/>
<!-- We're using JavaCupRedirect to call the java_cup application -->
<arg line="-parser XPathParser -expect 0
-stdin ${src.dir}/${xsltc.reldir}/compiler/xpath.cup"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]