1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-02 14:02:17 -05:00

Fixes to build.xml to actually be able to sign a jar in the 1.5 world order.

This commit is contained in:
Jesse Vincent 2009-09-22 13:48:21 +00:00
parent a3232c02f3
commit a54d1c2098

View File

@ -44,6 +44,8 @@
<pathelement path="${sdk-location}/tools/lib/jarutils.jar" /> <pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
</path> </path>
<property environment="env"/>
<taskdef name="setup" <taskdef name="setup"
classname="com.android.ant.SetupTask" classname="com.android.ant.SetupTask"
classpathref="android.antlibs"/> classpathref="android.antlibs"/>
@ -122,6 +124,9 @@
<!-- The final package file to generate --> <!-- The final package file to generate -->
<property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/> <property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/>
<property name="out-unsigned-package" value="${out-folder}/${ant.project.name}-unsigned.apk"/>
<property name="out-signed-package" value="${out-folder}/${ant.project.name}-signed.apk"/>
<!-- Tools --> <!-- Tools -->
<condition property="exe" value=".exe" else=""><os family="windows"/></condition> <condition property="exe" value=".exe" else=""><os family="windows"/></condition>
@ -254,8 +259,8 @@
<arg value="-storepass" /> <arg value="-storepass" />
<arg value="${env.jarpass}" /> <arg value="${env.jarpass}" />
<arg value="-signedjar" /> <arg value="-signedjar" />
<arg value="${out-signed-package-ospath}" /> <arg value="${out-signed-package}" />
<arg value="${out-unsigned-package-ospath}" /> <arg value="${out-unsigned-package}" />
<arg value="fsckcom" /> <arg value="fsckcom" />
</exec> </exec>