Fixed misspelling of "verion"; added "-" to ac.jar file name; added source tag for 1.5 compatibility.

This commit is contained in:
John B. Matthews 2006-04-23 05:04:32 +00:00
parent eb7b228075
commit f7f0391b6c

View File

@ -21,14 +21,14 @@
<mkdir dir="${dist}"/>
<mkdir dir="${javadoc}"/>
<input message="Please enter the version number for this release of AppleCommander:"
addproperty="acVerion"/>
addproperty="acVersion"/>
<condition property="do.abort">
<equals arg1="" arg2="${acVersion}"/>
</condition>
<fail if="do.abort">Version number is required.</fail>
<echo>Making build ${acVersion}...</echo>
<property name="guijar" value="${dist}/AppleCommander-${acVersion}.jar"/>
<property name="cmdjar" value="${dist}/AppleCommander-${acVersion}ac.jar"/>
<property name="cmdjar" value="${dist}/AppleCommander-${acVersion}-ac.jar"/>
<property name="srczip" value="${dist}/AppleCommander-${acVersion}-src.zip"/>
<property name="webzip" value="${dist}/AppleCommander-${acVersion}-web.zip"/>
</target>
@ -44,7 +44,7 @@
</target>
<target name="executableGuiJar" depends="init" description="Build GUI executable JAR">
<javac srcdir="${source}" destdir="${classes}" target="1.3" classpath="${swtjar}">
<javac srcdir="${source}" destdir="${classes}" target="1.3" source="1.3" classpath="${swtjar}">
<include name="**/*.java"/>
<exclude name="**/*Test.java"/>
</javac>
@ -64,7 +64,7 @@
</target>
<target name="executableCmdJar" depends="init" description="Build command-line only executable JAR">
<javac srcdir="${source}" destdir="${classes}" target="1.3">
<javac srcdir="${source}" destdir="${classes}" target="1.3" source="1.3">
<include name="**/*.java"/>
<exclude name="**/*Test.java"/>
</javac>