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:34:13 UTC
[xalan-java] branch xalan-j_2_7_1_maint 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 xalan-j_2_7_1_maint
in repository https://gitbox.apache.org/repos/asf/xalan-java.git
The following commit(s) were added to refs/heads/xalan-j_2_7_1_maint by this push:
new 617b058e disabling ant task <javac>'s compilation warnings during build. this reduces verbosity of xalanj ant builds.
617b058e is described below
commit 617b058efaaa3a717b3c1374542c422bf7e0a3de
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Sun Jan 22 20:03:57 2023 +0530
disabling ant task <javac>'s compilation warnings during build. this
reduces verbosity of xalanj ant builds.
---
build.xml | 85 +++++++++++++++++++++++++++++--------------
build_srcdist_xalan.xml | 85 +++++++++++++++++++++++++++++--------------
build_srcdist_xalan_tests.xml | 33 +++++++++++------
3 files changed, 135 insertions(+), 68 deletions(-)
diff --git a/build.xml b/build.xml
index 13c28522..6c97819c 100644
--- a/build.xml
+++ b/build.xml
@@ -66,6 +66,7 @@ $Id$
<property name="build.debug" value="on"/>
<property name="compiler.target" value="1.8"/>
<property name="compiler.source" value="1.8"/>
+ <property name="compiler.nowarn" value="on"/>
<!-- Xalan Java version information -->
<property name="version.VERSION" value="2"/>
@@ -379,7 +380,8 @@ $Id$
<javac srcdir="${src.dir}"
destdir="${build.classes}"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${apachexml.reldir}/**/*.java" />
<!-- exclude the serializer -->
<exclude name="${serializer.reldir}/**/*.java" />
@@ -407,7 +409,8 @@ $Id$
<javac srcdir="${src.dir}"
destdir="${build.classes}"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${xpath.reldir}/**/*.java" />
<include name="${domxpath.reldir}/**/*.java" />
<include name="${xalan.reldir}/**/*.java" />
@@ -453,7 +456,8 @@ $Id$
destdir="${build.classes}"
includes="${xsltc.reldir}/util/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -517,7 +521,8 @@ $Id$
includes="${xsltc.reldir}/**/*.java"
excludes="${serializer.reldir}/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -531,7 +536,8 @@ $Id$
destdir="${build.classes}"
includes="${xsltc.reldir}/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -733,90 +739,105 @@ $Id$
<javac srcdir="${samples.dir}/SimpleTransform"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseStylesheetPI"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseStylesheetParam"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/SAX2SAX"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/DOM2DOM"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Pipe"
destdir="${build.samples}" excludes="${exclude}"
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path" >
+ debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseXMLFilters"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Trace"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/ApplyXPath"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/ApplyXPathDOM"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/trax"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/extensions"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Validate"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/TransformThread"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/XPathAPI"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<jar jarfile="${build.samples.jar}" basedir="${build.samples}"
@@ -859,7 +880,8 @@ $Id$
destdir="${build.servlet}/WEB-INF/classes"
debug="${build.debug}"
bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
<classpath location="${servlet-api.jar}" />
</javac>
@@ -901,11 +923,13 @@ $Id$
classpath="${build.xalan.jar}"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
<javac srcdir="${samples.dir}/CompiledJAXP"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
</target>
<!-- =================================================================== -->
@@ -918,7 +942,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledApplet"
destdir="${build.samples}/CompiledApplet" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
<jar jarfile="${build.xsltc.applet.jar}"
basedir="${build.samples}/CompiledApplet"
includes="*.class"/>
@@ -934,7 +959,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledBrazil"
destdir="${build.samples}/CompiledBrazil" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath location="${brazil.jar}"/>
</javac>
<jar jarfile="${build.xsltc.brazil.jar}"
@@ -954,7 +980,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledEJB"
destdir="${build.samples}/CompiledEJB" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath location="${javaee-api.jar}"/>
</javac>
<jar jarfile="${build.xsltc.ejb.jar}"
@@ -973,7 +1000,8 @@ $Id$
destdir="${build.samples}/CompiledServlet" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
target="${compiler.target}" source="${compiler.source}"
- classpath="${build.xalan.jar}:${servlet-api.jar}">
+ classpath="${build.xalan.jar}:${servlet-api.jar}"
+ nowarn="${compiler.nowarn}">
</javac>
<jar jarfile="${build.xsltc.servlet.jar}"
basedir="${build.samples}/CompiledServlet"
@@ -1724,7 +1752,8 @@ $Id$
<javac srcdir="${serializer.src.dir}"
destdir="${serializer.build.classes}"
debug="${serializer.build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${serializer.reldir}/**/*.java" />
<classpath refid="compile.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
diff --git a/build_srcdist_xalan.xml b/build_srcdist_xalan.xml
index 9da3a149..bb8e03c5 100644
--- a/build_srcdist_xalan.xml
+++ b/build_srcdist_xalan.xml
@@ -70,6 +70,7 @@ $Id$
<property name="build.debug" value="on"/>
<property name="compiler.target" value="1.8"/>
<property name="compiler.source" value="1.8"/>
+ <property name="compiler.nowarn" value="on"/>
<!-- Xalan Java version information -->
<property name="version.VERSION" value="2"/>
@@ -388,7 +389,8 @@ $Id$
<javac srcdir="${src.dir}"
destdir="${build.classes}"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${apachexml.reldir}/**/*.java" />
<!-- exclude the serializer -->
<exclude name="${serializer.reldir}/**/*.java" />
@@ -416,7 +418,8 @@ $Id$
<javac srcdir="${src.dir}"
destdir="${build.classes}"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${xpath.reldir}/**/*.java" />
<include name="${domxpath.reldir}/**/*.java" />
<include name="${xalan.reldir}/**/*.java" />
@@ -463,7 +466,8 @@ $Id$
destdir="${build.classes}"
includes="${xsltc.reldir}/util/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -527,7 +531,8 @@ $Id$
includes="${xsltc.reldir}/**/*.java"
excludes="${serializer.reldir}/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -541,7 +546,8 @@ $Id$
destdir="${build.classes}"
includes="${xsltc.reldir}/**/*.java"
debug="${build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="xsltc.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
</javac>
@@ -743,90 +749,105 @@ $Id$
<javac srcdir="${samples.dir}/SimpleTransform"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseStylesheetPI"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseStylesheetParam"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/SAX2SAX"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/DOM2DOM"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Pipe"
destdir="${build.samples}" excludes="${exclude}"
- debug="${build.debug}" bootclasspathref="xslt.boot.class.path" >
+ debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/UseXMLFilters"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Trace"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/ApplyXPath"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/ApplyXPathDOM"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/trax"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/extensions"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/Validate"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/TransformThread"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<javac srcdir="${samples.dir}/XPathAPI"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
</javac>
<jar jarfile="${build.samples.jar}" basedir="${build.samples}"
@@ -869,7 +890,8 @@ $Id$
destdir="${build.servlet}/WEB-INF/classes"
debug="${build.debug}"
bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath refid="samples.class.path" />
<classpath location="${servlet-api.jar}" />
</javac>
@@ -911,11 +933,13 @@ $Id$
classpath="${java.class.path}:${build.xalan.jar}"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
<javac srcdir="${samples.dir}/CompiledJAXP"
destdir="${build.samples}" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
</target>
<!-- =================================================================== -->
@@ -928,7 +952,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledApplet"
destdir="${build.samples}/CompiledApplet" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}"/>
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}"/>
<jar jarfile="${build.xsltc.applet.jar}"
basedir="${build.samples}/CompiledApplet"
includes="*.class"/>
@@ -944,7 +969,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledBrazil"
destdir="${build.samples}/CompiledBrazil" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath location="${brazil.jar}"/>
</javac>
<jar jarfile="${build.xsltc.brazil.jar}"
@@ -964,7 +990,8 @@ $Id$
<javac srcdir="${samples.dir}/CompiledEJB"
destdir="${build.samples}/CompiledEJB" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<classpath location="${javaee-api.jar}"/>
</javac>
<jar jarfile="${build.xsltc.ejb.jar}"
@@ -983,7 +1010,8 @@ $Id$
destdir="${build.samples}/CompiledServlet" excludes="${exclude}"
debug="${build.debug}" bootclasspathref="xslt.boot.class.path"
target="${compiler.target}" source="${compiler.source}"
- classpath="${build.xalan.jar}:${servlet-api.jar}">
+ classpath="${build.xalan.jar}:${servlet-api.jar}"
+ nowarn="${compiler.nowarn}">
</javac>
<jar jarfile="${build.xsltc.servlet.jar}"
basedir="${build.samples}/CompiledServlet"
@@ -1732,7 +1760,8 @@ $Id$
<javac srcdir="${serializer.src.dir}"
destdir="${serializer.build.classes}"
debug="${serializer.build.debug}"
- target="${compiler.target}" source="${compiler.source}">
+ target="${compiler.target}" source="${compiler.source}"
+ nowarn="${compiler.nowarn}">
<include name="${serializer.reldir}/**/*.java" />
<classpath refid="compile.class.path" />
<bootclasspath refid="xslt.boot.class.path" />
diff --git a/build_srcdist_xalan_tests.xml b/build_srcdist_xalan_tests.xml
index aafcad77..b56a4e39 100644
--- a/build_srcdist_xalan_tests.xml
+++ b/build_srcdist_xalan_tests.xml
@@ -69,6 +69,7 @@ file build.xml provided by XalanJ xalan-test git repos.
<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"/>
@@ -1304,7 +1305,7 @@ file build.xml provided by XalanJ xalan-test git repos.
<javac srcdir="${test.src.dir}"
destdir="${test.build.dir}"
includes="${test.root}*.java"
- debug="${debug}" />
+ debug="${debug}" nowarn="${compiler.nowarn}"/>
</target>
@@ -1326,13 +1327,13 @@ file build.xml provided by XalanJ xalan-test git repos.
<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"
@@ -1342,7 +1343,7 @@ file build.xml provided by XalanJ xalan-test git repos.
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"
@@ -1353,22 +1354,26 @@ file build.xml provided by XalanJ xalan-test git repos.
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">
@@ -1378,7 +1383,8 @@ file build.xml provided by XalanJ xalan-test git repos.
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">
@@ -1387,7 +1393,8 @@ file build.xml provided by XalanJ xalan-test git repos.
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,
@@ -1409,7 +1416,8 @@ file build.xml provided by XalanJ xalan-test git repos.
destdir="${tests.bugzilla.build.dir}"
debug="${debug}"
excludes="Bugzilla1288.java"
- classpathref="bugzilla.class.path" />
+ classpathref="bugzilla.class.path"
+ nowarn="${compiler.nowarn}"/>
</target>
<target name="extensions.classes" depends="jar"
@@ -1418,7 +1426,8 @@ file build.xml provided by XalanJ xalan-test git repos.
<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