Got a little too excited about using 1.5 features and some slipped into

Narya. I added directives to the compile line to prevent that from
happening again.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3247 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-11-27 17:34:55 +00:00
parent 49b320716e
commit 421ed5126e
3 changed files with 10 additions and 8 deletions
+4 -2
View File
@@ -36,7 +36,8 @@
classpathref="classpath"/>
<!-- make sure the service class files are all compiled -->
<javac srcdir="src/java" destdir="${classes.dir}"
debug="on" optimize="${build.optimize}" deprecation="on">
debug="on" optimize="${build.optimize}" deprecation="on"
source="1.4" target="1.4">
<classpath refid="classpath"/>
<include name="**/*Service.java"/>
<exclude name="**/InvocationService.java"/>
@@ -84,7 +85,8 @@
<!-- build the java class files -->
<target name="compile" depends="prepare">
<javac srcdir="src/java" destdir="${classes.dir}"
debug="on" optimize="{$build.optimize}" deprecation="on">
debug="on" optimize="{$build.optimize}" deprecation="on"
source="1.4" target="1.4">
<classpath refid="classpath"/>
<exclude name="**/OggPlayer.java"/>
<exclude name="**/ModPlayer.java"/>