yoavs 2004/08/29 11:14:18 Modified: jk build.xml naming build.xml util build.xml webapp build.xml Log: Made compile.debug and compile.deprecation consistent and used in all javac tasks. Revision Changes Path 1.76 +6 -4 jakarta-tomcat-connectors/jk/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/build.xml,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- build.xml 16 Jun 2004 18:05:05 -0000 1.75 +++ build.xml 29 Aug 2004 18:14:17 -0000 1.76 @@ -20,7 +20,8 @@ <!-- Compile options --> <property name="optimize" value="off" /> - <property name="debug" value="on" /> + <property name="compile.debug" value="true" /> + <property name="compile.deprecation" value="false" /> <!-- default locations, overrident by properties --> <property name="base.path" location="/usr/share/java"/> @@ -170,8 +171,8 @@ description="Build java side of the connector" > <javac srcdir="java" destdir="${jk.build}/classes" - deprecation="off" - debug="${debug}" + deprecation="${compile.deprecation}" + debug="${compile.debug}" optimize="${optimize}" verbose="off" > <exclude name="org/apache/ajp/**" if="tomcat5.detect"/> @@ -248,7 +249,8 @@ <mkdir dir="${jk.build}/lib"/> <javac srcdir="jkant/java" destdir="${jk.build}/classes" - debug="${debug}" + debug="${compile.debug}" + deprecation="${compile.deprecation}" optimize="${optimize}" verbose="off" > </javac> 1.4 +2 -2 jakarta-tomcat-connectors/naming/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/naming/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.xml 26 Feb 2003 18:52:11 -0000 1.3 +++ build.xml 29 Aug 2004 18:14:17 -0000 1.4 @@ -38,8 +38,8 @@ <mkdir dir="${naming.build.dir}/classes"/> <javac srcdir="src" destdir="${naming.build.dir}/classes" - deprecation="off" - debug="${debug}" + deprecation="${compile.deprecation}" + debug="${compile.debug}" optimize="${optimize}" verbose="off" > <exclude name="org/apache/ajp/tomcat4/**" unless="tomcat40.detect"/> 1.28 +2 -2 jakarta-tomcat-connectors/util/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/build.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- build.xml 23 Jul 2004 22:43:48 -0000 1.27 +++ build.xml 29 Aug 2004 18:14:17 -0000 1.28 @@ -59,8 +59,8 @@ <echo message="-- JDK14 = ${jdk1.4.present}"/> <javac srcdir="java" destdir="${tomcat-util.build}/classes" - deprecation="off" - debug="on" + deprecation="${compile.deprecation}" + debug="${compile.debug}" optimize="off" verbose="off" excludes="**/CVS/**"> 1.15 +3 -1 jakarta-tomcat-connectors/webapp/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/build.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- build.xml 21 Aug 2002 14:33:48 -0000 1.14 +++ build.xml 29 Aug 2004 18:14:18 -0000 1.15 @@ -133,7 +133,9 @@ <!-- Compile our sources --> <javac srcdir="${source.java}" - destdir="${build.classes}"> + destdir="${build.classes}" + debug="${compile.debug}" + deprecation="${compile.deprecation}"> <classpath refid="classpath"/> </javac>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]