You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by mk...@ca.ibm.com on 2002/10/29 15:56:06 UTC
Re: cvs commit: xml-xalan/java build.xml
Gary,
Are you going to check in Ant 1.5? The build.xml does not work with the
existing Ant. The error message is:
build.xml:189: The <path> data type doesn't support the nested "dirset"
element.
Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: mkwan@ca.ibm.com
garyp@apache.org
To: xml-xalan-cvs@apache.org
10/28/2002 05:49 cc:
PM Subject: cvs commit: xml-xalan/java build.xml
Please respond to
xalan-dev
garyp 2002/10/28 14:49:35
Modified: java build.xml
Log:
Support compiling under JDK 1.2 - 1.4. Also check for compatability with
target JDK 1.1.x.
Revision Changes Path
1.178 +15 -29 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- build.xml 28 Oct 2002 21:50:49 -0000 1.177
+++ build.xml 28 Oct 2002 22:49:35 -0000 1.178
@@ -178,9 +178,17 @@
</path>
<path id="xslt.boot.class.path">
<!-- Put this version of xalan in front of the jdk's for JDK 1.4+
-->
+ <!-- Set build.boot.class.path to a JDK 1.1.x classes.zip file to
check
+ compatibility with 1.1.x. If you omit this property,
compatability
+ with 1.1.x will not be checked even though javac
specifies a target of 1.1 -->
<pathelement location="${build.classes}" />
+ <pathelement path="${build.boot.class.path}" />
<pathelement path="${sun.boot.class.path}" />
</path>
+ <path id="compile.source.path">
+ <dirset dir="${src.dir}" includes="/org/apache/**" />
+ </path>
+
<!--
=================================================================== -->
<!-- Creates output build directories and doc prerequistes
-->
@@ -229,22 +237,16 @@
<target name="compile" depends="prepare"
description="Compile Xalan-J 2.x (skips 1.x compat and XSLTC)" >
<echo message="compile entire source tree and copy .properties and
.res files to build tree."/>
- <!-- Note: split compile into separate javac steps to avoid JDK
1.1.8 bug reported at:
-
http://developer.java.sun.com/developer/bugParade/bugs/4043508.html
-
which causes an error like:
- [javac] E:
\builds\xml-xalan\java\src\org\apache\xalan\templates\ElemTemplate.java:108:
Cyclic class inheritance or scoping.
- -->
- <!-- Compile XPath engine and some common utilities -->
<javac srcdir="${src.dir}"
destdir="${build.classes}"
- debug="${build.debug}" >
- <!-- Also compile version info classes here -->
- <include name="${xalan.reldir}/Version.java" />
- <include name="${xalan.reldir}/processor/XSLProcessorVersion.java"
/>
+ debug="${build.debug}"
+ target="1.1" >
<include name="${apachexml.reldir}/**/*.java" />
<!-- But exclude unused synthetic* files; should be obsoleted from
CVS -->
<exclude name="${apachexml.reldir}/utils/synthetic/**/*.java" />
<include name="${xpath.reldir}/**/*.java" />
+ <include name="${xalan.reldir}/**/*.java" />
+ <exclude name="${xsltc.reldir}/**/*.java" />
<include name="${domxpath.reldir}/**/*.java" />
<exclude name="**/CoroutineSAXFilterTest.java"
unless="xerces.present" />
@@ -254,23 +256,7 @@
unless="xerces.present" />
<classpath refid="compile.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
- </javac>
- <!-- Compile Xalan main engine (but not xsltc package yet) -->
- <javac srcdir="${src.dir}"
- destdir="${build.classes}"
- includes="${xalan.reldir}/**/*.java"
- excludes="${xsltc.reldir}/**/*.java,
${xalan.reldir}/lib/**/*.java,${xalan.reldir}/xslt/**/*.java"
- debug="${build.debug}" >
- <classpath refid="compile.class.path" />
- <bootclasspath refid="xslt.boot.class.path" />
- </javac>
- <!-- Compile various Xalan-specific extensions and command line
class -->
- <javac srcdir="${src.dir}"
- destdir="${build.classes}"
- includes="${xalan.reldir}/lib/**/*.java,
${xalan.reldir}/xslt/**/*.java"
- debug="${build.debug}" >
- <classpath refid="compile.class.path" />
- <bootclasspath refid="xslt.boot.class.path" />
+ <sourcepath refid="compile.source.path" />
</javac>
<!-- Copy needed properties, resource, etc. files to be put into
.jar file -->
<copy todir="${build.classes}">
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org
2.4.1 Release Date
Posted by Rick Bullotta <ri...@lighthammer.com>.
Any updates on expected 2.4.1 release?
Many thanks!
Rick Bullotta
CTO
Lighthammer Software (www.lighthammer.com)
RE: cvs commit: xml-xalan/java build.xml
Posted by Gary L Peskin <ga...@firstech.com>.
Oops. Sorry, I forgot about that. I've checked it in now.
Thanks, Morris.
Gary
> -----Original Message-----
> From: mkwan@ca.ibm.com [mailto:mkwan@ca.ibm.com]
> Sent: Tuesday, October 29, 2002 6:56 AM
> To: garyp@firstech.com
> Cc: xalan-dev@xml.apache.org
> Subject: Re: cvs commit: xml-xalan/java build.xml
>
>
> Gary,
>
> Are you going to check in Ant 1.5? The build.xml does not
> work with the existing Ant. The error message is:
>
> build.xml:189: The <path> data type doesn't support the
> nested "dirset" element.
>
> Morris Kwan
> XSLT Development
> IBM Toronto Lab
> Tel: (905)413-3729
> Email: mkwan@ca.ibm.com
>
>
>
>
>
> garyp@apache.org
>
> To:
> xml-xalan-cvs@apache.org
>
> 10/28/2002 05:49 cc:
>
> PM Subject: cvs
> commit: xml-xalan/java build.xml
>
> Please respond to
>
> xalan-dev
>
>
>
>
>
>
>
>
> garyp 2002/10/28 14:49:35
>
> Modified: java build.xml
> Log:
> Support compiling under JDK 1.2 - 1.4. Also check for
> compatability with target JDK 1.1.x.
>
> Revision Changes Path
> 1.178 +15 -29 xml-xalan/java/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/xml-xalan/java/build.xml,v
> retrieving revision 1.177
> retrieving revision 1.178
> diff -u -r1.177 -r1.178
> --- build.xml 28 Oct 2002 21:50:49 -0000 1.177
> +++ build.xml 28 Oct 2002 22:49:35 -0000 1.178
> @@ -178,9 +178,17 @@
> </path>
> <path id="xslt.boot.class.path">
> <!-- Put this version of xalan in front of the jdk's
> for JDK 1.4+
> -->
> + <!-- Set build.boot.class.path to a JDK 1.1.x
> classes.zip file to
> check
> + compatibility with 1.1.x. If you omit this property,
> compatability
> + with 1.1.x will not be checked even though javac
> specifies a target of 1.1 -->
> <pathelement location="${build.classes}" />
> + <pathelement path="${build.boot.class.path}" />
> <pathelement path="${sun.boot.class.path}" />
> </path>
> + <path id="compile.source.path">
> + <dirset dir="${src.dir}" includes="/org/apache/**" />
> + </path>
> +
>
> <!--
> ==============================================================
> ===== -->
> <!-- Creates output build directories and doc prerequistes
> -->
> @@ -229,22 +237,16 @@
> <target name="compile" depends="prepare"
> description="Compile Xalan-J 2.x (skips 1.x compat and
> XSLTC)" >
> <echo message="compile entire source tree and copy
> .properties and .res files to build tree."/>
> - <!-- Note: split compile into separate javac steps to avoid JDK
> 1.1.8 bug reported at:
> -
> http://developer.java.sun.com/developer/bugParade/bugs/4043508.html
> -
> which causes an error like:
> - [javac] E:
> \builds\xml-xalan\java\src\org\apache\xalan\templates\ElemTemp
> late.java:108:
>
> Cyclic class inheritance or scoping.
> - -->
> - <!-- Compile XPath engine and some common utilities -->
> <javac srcdir="${src.dir}"
> destdir="${build.classes}"
> - debug="${build.debug}" >
> - <!-- Also compile version info classes here -->
> - <include name="${xalan.reldir}/Version.java" />
> - <include
> name="${xalan.reldir}/processor/XSLProcessorVersion.java"
> />
> + debug="${build.debug}"
> + target="1.1" >
> <include name="${apachexml.reldir}/**/*.java" />
> <!-- But exclude unused synthetic* files; should be
> obsoleted from CVS -->
> <exclude
> name="${apachexml.reldir}/utils/synthetic/**/*.java" />
> <include name="${xpath.reldir}/**/*.java" />
> + <include name="${xalan.reldir}/**/*.java" />
> + <exclude name="${xsltc.reldir}/**/*.java" />
> <include name="${domxpath.reldir}/**/*.java" />
> <exclude name="**/CoroutineSAXFilterTest.java"
> unless="xerces.present" />
> @@ -254,23 +256,7 @@
> unless="xerces.present" />
> <classpath refid="compile.class.path" />
> <bootclasspath refid="xslt.boot.class.path" />
> - </javac>
> - <!-- Compile Xalan main engine (but not xsltc package yet) -->
> - <javac srcdir="${src.dir}"
> - destdir="${build.classes}"
> - includes="${xalan.reldir}/**/*.java"
> - excludes="${xsltc.reldir}/**/*.java,
> ${xalan.reldir}/lib/**/*.java,${xalan.reldir}/xslt/**/*.java"
> - debug="${build.debug}" >
> - <classpath refid="compile.class.path" />
> - <bootclasspath refid="xslt.boot.class.path" />
> - </javac>
> - <!-- Compile various Xalan-specific extensions and command line
> class -->
> - <javac srcdir="${src.dir}"
> - destdir="${build.classes}"
> - includes="${xalan.reldir}/lib/**/*.java,
> ${xalan.reldir}/xslt/**/*.java"
> - debug="${build.debug}" >
> - <classpath refid="compile.class.path" />
> - <bootclasspath refid="xslt.boot.class.path" />
> + <sourcepath refid="compile.source.path" />
> </javac>
> <!-- Copy needed properties, resource, etc. files to
> be put into .jar file -->
> <copy todir="${build.classes}">
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-cvs-help@xml.apache.org
>
>
>
>