You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mu...@apache.org on 2023/01/22 14:36:37 UTC
[xalan-test] branch master updated: disabling ant task 's compilation warnings during build. this reduces verbosity of xalanj ant builds.
This is an automated email from the ASF dual-hosted git repository.
mukulg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xalan-test.git
The following commit(s) were added to refs/heads/master by this push:
new 0641f07a disabling ant task <javac>'s compilation warnings during build. this reduces verbosity of xalanj ant builds.
0641f07a is described below
commit 0641f07aeabe9b5384c87a1af773b9ff55191082
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Sun Jan 22 20:06:18 2023 +0530
disabling ant task <javac>'s compilation warnings during build. this reduces verbosity of xalanj ant builds.
---
build.xml | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/build.xml b/build.xml
index e158c455..e7b93d00 100644
--- a/build.xml
+++ b/build.xml
@@ -65,6 +65,7 @@ dependencies - users must manually 'build jar' first.
<property name="build.compiler" value="classic"/>
<property name="compiler" value="${build.compiler}"/>
<property name="debug" value="on"/>
+ <property name="compiler.nowarn" value="on"/>
<!-- Specific locations related to building test code/docs -->
<property name="test.src.dir" value="java/src"/>
@@ -1302,7 +1303,7 @@ dependencies - users must manually 'build jar' first.
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}*.java"
- debug="${debug}" />
+ debug="${debug}" nowarn="${compiler.nowarn}"/>
</target>
@@ -1324,13 +1325,14 @@ dependencies - users must manually 'build jar' first.
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}xslwrapper/TransformWrapperHelper.java,${test.root}xslwrapper/TransformWrapper.java,${test.root}xslwrapper/TransformWrapperFactory.java"
- debug="${debug}" />
+ debug="${debug}" nowarn="${compiler.nowarn}"/>
<!-- This javac depends on JAXP, SAX, DOM; hence the specific classpathref -->
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}xsl/*.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="compile.trax.xslwrappers" depends="compile.xsl"
@@ -1340,7 +1342,8 @@ dependencies - users must manually 'build jar' first.
destdir="${test.build.dir}"
includes="${test.root}xslwrapper/Trax*Wrapper.java,${test.root}xslwrapper/TraxWrapperUtils.java,${test.root}xslwrapper/XalanProcessWrapper.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="compile.trax" depends="compile.xsl,compile.trax.xslwrappers"
@@ -1351,22 +1354,26 @@ dependencies - users must manually 'build jar' first.
destdir="${test.build.dir}"
includes="${test.root}trax/*.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}trax/stream/*.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}trax/dom/*.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}trax/sax/*.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="compile" depends="compile.trax">
@@ -1376,7 +1383,8 @@ dependencies - users must manually 'build jar' first.
includes="${test.root}xalanj2/*.java,${test.root}dtm/*.java"
excludes="${test.root}dtm/xsltcDocCode.java"
debug="${debug}"
- classpathref="compiletest.class.path" />
+ classpathref="compiletest.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="compile.rwapi" depends="compile">
@@ -1385,7 +1393,8 @@ dependencies - users must manually 'build jar' first.
destdir="${test.build.dir}"
includes="${test.root}rwapi/*.*"
debug="${debug}"
- classpathref="rwapitest.class.path" />
+ classpathref="rwapitest.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<!-- Note that this target must *not* depend on any XSLTC tests,
@@ -1407,7 +1416,8 @@ dependencies - users must manually 'build jar' first.
destdir="${tests.bugzilla.build.dir}"
debug="${debug}"
excludes="Bugzilla1288.java"
- classpath="${xalan.jar}:${testxsl.jar}" />
+ classpath="${xalan.jar}:${testxsl.jar}"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="extensions.classes" depends="jar"
@@ -1416,7 +1426,8 @@ dependencies - users must manually 'build jar' first.
<javac srcdir="${tests.extensions.dir}"
destdir="${tests.extensions.build.dir}"
debug="${debug}"
- classpathref="extensions.class.path" />
+ classpathref="extensions.class.path"
+ nowarn="${compiler.nowarn}"/>
<!-- Add more javac calls if we add more Java extensions dirs -->
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org