Don't ask for signing passphrase on the lib build

This commit is contained in:
sponge
2012-07-24 05:59:45 +00:00
parent 19791a5965
commit 0fbaeb0ea4
5 changed files with 13 additions and 8 deletions

View File

@ -226,6 +226,4 @@
<copy file="${out.release.file}" tofile="I2PAndroid-${my.version.name}.apk" />
<echo message="Release file copied to I2PAndroid-${my.version.name}.apk" />
</target>
</project>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.i2p.android.router.guts"
android.versionCode=""
android.versionName=""
android.versionCode="4719040"
android.versionName="0.9.0-28_b1-API8"
android:installLocation="preferExternal"
>

View File

@ -15,7 +15,4 @@
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
key.alias=${application-package}
application-package=net.i2p.router
key.store.password=android
key.store=${user.home}/.android/${application-package}.keystore

View File

@ -14,8 +14,13 @@
</fail>
<echo message="Using I2P source at ${i2pbase}" />
<target name="-pre-compile" depends="jbigi, buildrouter" />
<!-- this loads my.version.code and my.version.name -->
<property file="../scripts/version.properties" />
<property name="version.code" value="${my.version.code}" />
<property name="version.name" value="${my.version.name}" />
<echo message="version.code '${version.code}', 'version.name '${version.name}', '${my.version.name}'" />
<target name="-pre-compile" depends="jbigi, buildrouter" />
<!--
Creates the output directories if they don't exist yet.

View File

@ -15,6 +15,7 @@
THISDIR=$(dirname $(readlink -ne $0))
cd $THISDIR
MANIFEST=../AndroidManifest.xml
MANIFESTROUTER=../routerjars/AndroidManifest.xml
TMP=AndroidManifest.xml.tmp
I2PBASE=${1:-../../i2p.i2p}
@ -69,4 +70,8 @@ SUBST='s/android.versionCode="[0-9]*"/android.versionCode="'${VERSIONINT}'"/'
sed "$SUBST" < $MANIFEST > $TMP
SUBST='s/android.versionName="[^"]*"/android.versionName="'${VERSIONSTRING}'"/'
sed "$SUBST" < $TMP > $MANIFEST
SUBST='s/android.versionCode="[0-9]*"/android.versionCode="'${VERSIONINT}'"/'
sed "$SUBST" < $MANIFESTROUTER > $TMP
SUBST='s/android.versionName="[^"]*"/android.versionName="'${VERSIONSTRING}'"/'
sed "$SUBST" < $TMP > $MANIFESTROUTER
rm -f $TMP