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:
parent
03483d88c6
commit
82c6047cc2
1 changed files with 2 additions and 1 deletions
|
@ -142,6 +142,7 @@ Contributor(s): ______________________________________.
|
|||
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"/>
|
||||
|
||||
<!-- Only the tt-servlet-compile target changes this. Humans
|
||||
shouldn't mess with this. -->
|
||||
|
@ -1170,7 +1171,7 @@ Contributor(s): ______________________________________.
|
|||
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}"/>
|
||||
<src path="${source}"/>
|
||||
<include name="${my.included.source.file}" />
|
||||
|
|
Loading…
Reference in a new issue