Added the jvm.source to be able to specify the "source" parameter for javac, else I get an annoying error in java 1.5. David, should the default for both still be 1.1?

This commit is contained in:
amontano 2005-02-21 08:08:22 +00:00
parent 03483d88c6
commit 82c6047cc2

View file

@ -142,6 +142,7 @@ Contributor(s): ______________________________________.
more compatibility, but maybe there will be a performance hit more compatibility, but maybe there will be a performance hit
or something. --> or something. -->
<property name="target.jvm" value="1.1"/> <property name="target.jvm" value="1.1"/>
<property name="source.jvm" value="1.1"/>
<!-- Only the tt-servlet-compile target changes this. Humans <!-- Only the tt-servlet-compile target changes this. Humans
shouldn't mess with this. --> shouldn't mess with this. -->
@ -1170,7 +1171,7 @@ Contributor(s): ______________________________________.
unless="found.file.to.compile"/> unless="found.file.to.compile"/>
<javac destdir="${mybin}" debug="${javacdashg}" target="${target.jvm}"> <javac destdir="${mybin}" debug="${javacdashg}" target="${target.jvm}" source="${source.jvm}">
<classpath refid="${our.javac.classpathref}"/> <classpath refid="${our.javac.classpathref}"/>
<src path="${source}"/> <src path="${source}"/>
<include name="${my.included.source.file}" /> <include name="${my.included.source.file}" />