carnold 2005/08/18 17:17:19 Modified: . Tag: v1_2-branch build.xml Log: Bug 35831: parameterized javac target and source like Ant, switched default source to 1.1 Revision Changes Path No revision No revision 1.34.2.29 +15 -12 logging-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/logging-log4j/build.xml,v retrieving revision 1.34.2.28 retrieving revision 1.34.2.29 diff -u -r1.34.2.28 -r1.34.2.29 --- build.xml 7 Aug 2005 21:57:10 -0000 1.34.2.28 +++ build.xml 19 Aug 2005 00:17:19 -0000 1.34.2.29 @@ -70,6 +70,9 @@ <!-- Directory for temporary files. --> <property name="dist.tmp" value="${dist.dir}/tmp"/> + + <property name="javac.source" value="1.1"/> + <property name="javac.target" value="1.1"/> <!-- Construct compile classpath --> @@ -199,8 +202,8 @@ ${stem}/net/JMS*.java, ${stem}/jmx/*.java, ${stem}/or/jms/*.java" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}" debug="on"> <classpath refid="compile.classpath"/> @@ -220,8 +223,8 @@ includes="examples/**/*.java" classpath="${classpath}" excludes="misc/*" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}" debug="on"/> <rmic base="${javac.dest}" classname="examples.NumberCruncherServer"/> @@ -239,8 +242,8 @@ includes="${stem}/xml/**/*.java" excludes="${stem}/xml/examples/doc-files/**.java, ${stem}/xml/Transform.java" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}" classpath="${classpath}"> <classpath refid="compile.classpath"/> @@ -253,8 +256,8 @@ <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="${stem}/net/SMTPAppender.java" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}"> <classpath refid="compile.classpath"/> </javac> @@ -264,8 +267,8 @@ <javac srcdir="${java.source.dir}" destdir="${javac.dest}" includes="${stem}/net/JMS*.java, ${stem}/or/jms/*.java" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}"> <classpath refid="compile.classpath"/> </javac> @@ -276,8 +279,8 @@ destdir="${javac.dest}" includes="${stem}/jmx/*.java" excludes="${stem}/jmx/T.java" - target="1.1" - source="1.3" + target="${javac.target}" + source="${javac.source}" deprecation="${deprecation}"> <classpath refid="compile.classpath"/> </javac>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]