target build property

This commit is contained in:
zzz
2014-02-21 13:59:27 +00:00
parent 91cdf85772
commit c679091afd
11 changed files with 42 additions and 21 deletions

View File

@@ -7,6 +7,7 @@
<property name="jar" value="addressbook.jar"/>
<property name="war" value="addressbook.war"/>
<property name="javac.compilerargs" value="" />
<property name="javac.version" value="1.6" />
<target name="init">
<mkdir dir="${build}"/>
@@ -37,7 +38,7 @@
</target>
<target name="compile" depends="init, depend">
<javac debug="true" deprecation="on" source="1.6" target="1.6"
<javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
includeAntRuntime="false"
srcdir="${src}" destdir="${build}">
<compilerarg line="${javac.compilerargs}" />