Changed the default vm for target and source to 1.2. Having 1.1 would yield the error

[javac] javac: invalid source release: 1.1
when compiling in JDK1.5.
This commit is contained in:
amontano 2005-02-23 23:01:51 +00:00
parent c16f633ecf
commit 5d99c0ce7f

View file

@ -141,8 +141,8 @@ Contributor(s): ______________________________________.
<!-- Set this to 1.2 if you want J2SDK 1.4's default. 1.1 gives us
more compatibility, but maybe there will be a performance hit
or something. -->
<property name="target.jvm" value="1.1"/>
<property name="source.jvm" value="1.1"/>
<property name="target.jvm" value="1.2"/>
<property name="source.jvm" value="1.2"/>
<!-- Only the tt-servlet-compile target changes this. Humans
shouldn't mess with this. -->
@ -1170,7 +1170,6 @@ Contributor(s): ______________________________________.
<fail message="Can't find the file '${source}/${my.included.source.file}' to compile it! Don't worry about forward vs. backward slashes, by the way--Ant is smart about those."
unless="found.file.to.compile"/>
<javac destdir="${mybin}" debug="${javacdashg}" target="${target.jvm}" source="${source.jvm}">
<classpath refid="${our.javac.classpathref}"/>
<src path="${source}"/>