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