From dd2564469d1955837ec11c0ce0fd463bde1b6756 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 5 May 2009 18:02:17 +0000 Subject: Update Ant build system for SDK 1.5 git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@215 df292f66-193f-0410-a5fc-6d59da041ff2 --- build.properties | 15 ++ build.xml | 415 +++++++++++++++++++++++++++-------------------------- default.properties | 11 ++ 3 files changed, 235 insertions(+), 206 deletions(-) create mode 100644 build.properties create mode 100644 default.properties diff --git a/build.properties b/build.properties new file mode 100644 index 0000000..e5d39ba --- /dev/null +++ b/build.properties @@ -0,0 +1,15 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked in Version Control Systems, as it is +# integral to the build system of your project. + +# The name of your application package as defined in the manifest. +# Used by the 'uninstall' rule. +application-package=org.connectbot + +# The name of the source folder. +source-folder=src + +# The name of the output folder. +out-folder=bin + diff --git a/build.xml b/build.xml index 64eebb8..dbbd930 100644 --- a/build.xml +++ b/build.xml @@ -1,109 +1,128 @@ - - - - - - - - + + - - - + + - - - - - + + + + + + + + + + + + + + + + - + + + + + + + + + + + - - - - - - + + + + + - - - - + + - - - - - + + - - + + + + + + + + - - + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - + + - - - + Creating output directories if needed... - - + + + + + @@ -113,13 +132,13 @@ - + - + - + - + @@ -127,119 +146,86 @@ Compiling aidl files into Java classes... - - - + + + + - + + destdir="${out-classes}" + bootclasspathref="android.target.classpath"> + + - + + - Converting compiled files and external libraries into ${outdir}/${dex-file}... + Converting compiled files and external libraries into ${out-folder}/${dex-file}... - - - + + + - - - Packaging resources and assets... - - - - - - - - - - - - - - - - - - - Packaging resources... - - - - - - - - - - - - - - - - - - - - - + + + Packaging resources + - - Packaging ${out-debug-package}, and signing it with a debug key... - - - - - - - - - - - + This is the default target when building. It is used for debug. --> + + + + + + + - - Packaging ${out-unsigned-package} for release... - - - - - - - - - - - - - It will need to be signed with jarsigner before being published. + This allows for the application to be signed later with an official publishing key. --> + + + + + + + + All generated packages need to be signed with jarsigner before they are published. @@ -247,7 +233,7 @@ Installing ${out-debug-package} onto default emulator... - + @@ -256,7 +242,7 @@ - + @@ -265,39 +251,56 @@ Uninstalling ${application-package} from the default emulator... - + + + + + Android Ant Build. Available targets: + help: Displays this help. + debug: Builds the application and sign it with a debug key. + release: Builds the application. The generated apk file must be + signed before it is published. + install: Installs the debug package onto a running emulator or + device. This can only be used if the application has + not yet been installed. + reinstall: Installs the debug package on a running emulator or + device that already has the application. + The signatures must match. + uninstall: uninstall the application from a running emulator or + device. + - Updating strings.xml with SVN revision and build date... - - - - - - - - - - - - - - - - - - - - - - - - - - Updated "msg_version" to: ${ant.project.name} ${manifest.android:versionName} (r${Revision} ${build.date}) - + Updating strings.xml with SVN revision and build date... + + + + + + + + + + + + + + + + + + + + + + + + + Updated "msg_version" to: ${ant.project.name} ${manifest.android:versionName} (r${Revision} ${build.date}) + diff --git a/default.properties b/default.properties new file mode 100644 index 0000000..4513a1e --- /dev/null +++ b/default.properties @@ -0,0 +1,11 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-3 -- cgit v1.2.3