Update to require Ant 1.8.x+ to take advantage of the new property expansion for...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 24 Jul 2010 08:37:48 +0000 (08:37 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 24 Jul 2010 08:37:48 +0000 (08:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@978826 13f79535-47bb-0310-9956-ffa450edef68

BUILDING.txt
build.properties.default
build.xml

index b842ff5..d5989c6 100644 (file)
@@ -42,11 +42,11 @@ do the following:
   into which you installed the JDK release.
 
 
-(1) Install Apache Ant 1.6.x on your computer
+(1) Install Apache Ant 1.8.x on your computer
 
-* If Apache Ant 1.6.x is already installed on your computer, skip to (2).
+* If Apache Ant 1.8.x is already installed on your computer, skip to (2).
 
-* Download a binary distribution of Ant 1.6.x from:
+* Download a binary distribution of Ant 1.8.x from:
 
     http://ant.apache.org/bindownload.cgi
 
index cbfc32d..ff0568c 100644 (file)
@@ -31,6 +31,9 @@ version.build=1
 version.patch=0
 version.suffix=-dev
 
+# ----- Build control flags -----
+execute.validate=false
+
 # ----- Default Base Path for Dependent Packages -----
 # Please note this path must be absolute, not relative,
 # as it is referenced with different working directory
index a237b17..30e4c4c 100644 (file)
--- a/build.xml
+++ b/build.xml
        
   </target>
 
-  <target name="validate" depends="download-validate">
+  <target name="validate" depends="download-validate" if="${execute.validate}">
     <taskdef resource="checkstyletask.properties"
                 classpath="${checkstyle.jar}" />
        <checkstyle config="checkstyle.xml">
              optimize="${compile.optimize}"
              classpath="${tomcat.classes}"
              excludes="**/CVS/**,**/.svn/**"
-             encoding="ISO-8859-1">
+             encoding="ISO-8859-1"
+            includeantruntime="false">
     </javac>
 
     <javac   srcdir="webapps/examples/jsp/plugin/applet"
              optimize="${compile.optimize}"
              classpath="$tomcat.lcasses}"
              excludes="**/CVS/**,**/.svn/**"
-             encoding="ISO-8859-1">
+             encoding="ISO-8859-1"
+            includeantruntime="false">
     </javac>
 
     <!-- Add sources for examples -->
            deprecation="${compile.deprecation}"
            source="${compile.source}"
            optimize="${compile.optimize}"
-           encoding="ISO-8859-1">
+           encoding="ISO-8859-1"
+          includeantruntime="false">
       <classpath refid="tomcat.test.classpath" />
       <include name="org/apache/**" />
       <include name="javax/servlet/**" />
            deprecation="${compile.deprecation}"
            source="${compile.source}"
            optimize="${compile.optimize}"
-           encoding="ISO-8859-1">
+           encoding="ISO-8859-1"
+          includeantruntime="false">
       <classpath refid="tomcat.webservices.classpath" />
       <include name="org/apache/naming/factory/webservices/**" />
     </javac>
@@ -2044,7 +2048,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
            target="${compile.target}"
            sourcepath="${tomcat-dbcp.home}/src/java"
            srcdir="${tomcat-dbcp.home}/src/java"
-           encoding="ISO-8859-1">
+           encoding="ISO-8859-1"
+          includeantruntime="false">
       <include name="**" />
     </javac>
        <jarIt jarfile="${tomcat-dbcp.jar}"