summaryrefslogtreecommitdiff
blob: 27d4596d8d9261caffca5f625ef0aa942210b53b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/build.xml b/build.xml
index 9d3a7d6..a6732b6 100644
--- a/build.xml
+++ b/build.xml
@@ -60,7 +60,7 @@
 
 	<target name="compile" depends="init" description="Compile java sources into class files">
 		<!-- compile -->
-		<javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+		<javac debug="true" debuglevel="lines,source" destdir="${builddir}" srcdir="${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
 			<classpath>
 				<pathelement location="${basedir}" />
 				<fileset dir="${libdir}" includes="*.jar" />
@@ -208,7 +208,7 @@
 
 		<!-- compile -->
 		<echo message="building MegaMek from svn sources" />
-		<javac debug="true" debuglevel="lines,source" target="1.5" source="1.5" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
+		<javac debug="true" debuglevel="lines,source" destdir="${svnbuilddir}" srcdir="${svndir}/${srcdir}" memoryInitialSize="512m" memoryMaximumSize="512m" fork="true">
 			<classpath>
 				<pathelement location="${svndir}" />
 				<fileset dir="${svndir}/${libdir}" includes="*.jar" />