Explicitly set javac source option to 1.3 to fix compatibility with java 1.5 compiler.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/tapestry/branches/branch-3-0@244168 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/contrib/build.xml b/contrib/build.xml
index c4c17c3..35337d7 100644
--- a/contrib/build.xml
+++ b/contrib/build.xml
@@ -27,7 +27,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the framework.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="project.classpath"/>
 		</javac>
 	</target>
diff --git a/examples/DevelopmentEnvironment/build.xml b/examples/DevelopmentEnvironment/build.xml
index 2bacfee..d2bfc3e 100644
--- a/examples/DevelopmentEnvironment/build.xml
+++ b/examples/DevelopmentEnvironment/build.xml
@@ -67,7 +67,7 @@
 
   <target name="compile" depends="prepare">
     <javac srcdir="${src.dir}"
-	   destdir="${classes.dir}">
+	   destdir="${classes.dir}" target="1.1" source="1.3">
       <classpath refid="libs"/>
     </javac>
   </target>
diff --git a/examples/Tutorial2/build.xml b/examples/Tutorial2/build.xml
index 8712a78..ea17781 100644
--- a/examples/Tutorial2/build.xml
+++ b/examples/Tutorial2/build.xml
@@ -70,7 +70,7 @@
 
   <target name="compile" depends="prepare">
     <javac srcdir="${src.dir}"
-	   destdir="${classes.dir}">
+	   destdir="${classes.dir}" target="1.1" source="1.3">
       <classpath refid="libs"/>
     </javac>
   </target>
diff --git a/examples/Vlib/build.xml b/examples/Vlib/build.xml
index b499558..2a8b823 100644
--- a/examples/Vlib/build.xml
+++ b/examples/Vlib/build.xml
@@ -29,7 +29,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the framework.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="compile.classpath"/>
 		</javac>
 	</target>
diff --git a/examples/VlibBeans/build.xml b/examples/VlibBeans/build.xml
index 1248672..9227648 100644
--- a/examples/VlibBeans/build.xml
+++ b/examples/VlibBeans/build.xml
@@ -26,7 +26,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the JAR.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="compile.classpath"/>
 		</javac>
 	</target>
diff --git a/examples/Workbench/build.xml b/examples/Workbench/build.xml
index 2b394dd..d213cd9 100644
--- a/examples/Workbench/build.xml
+++ b/examples/Workbench/build.xml
@@ -29,7 +29,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the tutorial.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="compile.classpath"/>
 		</javac>
 	</target>
diff --git a/examples/wap/build.xml b/examples/wap/build.xml
index c46239e..b815ab5 100644
--- a/examples/wap/build.xml
+++ b/examples/wap/build.xml
@@ -26,7 +26,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the tutorial.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="compile.classpath"/>
 		</javac>
 	</target>
diff --git a/framework/build.xml b/framework/build.xml
index 4fbb8ab..052edc1 100644
--- a/framework/build.xml
+++ b/framework/build.xml
@@ -24,7 +24,7 @@
 	<target name="compile" depends="init"
 		description="Compile all classes in the framework.">
 		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
-			target="1.1">
+			target="1.1" source="1.3">
 			<classpath refid="project.class.path"/>
 		</javac>
 	</target>
diff --git a/junit/build.xml b/junit/build.xml
index 9e4c752..926078d 100644
--- a/junit/build.xml
+++ b/junit/build.xml
@@ -50,7 +50,7 @@
   </target>
 
   <target name="compile" depends="init" description="Compile all test classes.">
-    <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on" target="1.1">
+    <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on" target="1.1" source="1.3">
       <classpath refid="compile-tests.classpath"/>
     </javac>
   </target>