X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=android%2Fbuild.xml;h=c81a9d4c81dc6928edbd3c81499300f06a7ee1d9;hb=725cb5f61bec041796fa5abbb6614eed851d81a9;hp=3defd3de7ccd7ce4b2c9687b9109b5b154110d21;hpb=1b62edec584b7a67966f51a10a1912171b54a811;p=zxing.git diff --git a/android/build.xml b/android/build.xml index 3defd3de..c81a9d4c 100644 --- a/android/build.xml +++ b/android/build.xml @@ -14,109 +14,130 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + - - - - + + - - - - - + + - - + + + + + + + + - - + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - + + - + Creating output directories if needed... - - + + + + + @@ -126,13 +147,13 @@ limitations under the License. - + - + - + - + @@ -140,204 +161,104 @@ limitations under the License. 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}... + - - - + + + - - Converting compiled files and external libraries into ${outdir}/${dex-file}... - - - - - - - - - - - - Packaging resources and assets... - - - - - - - - - - - - - - - - - - - Packaging resources... - - - - - - - - - - - - - - - - - - - - - + + + Packaging resources + - - Packaging ${out-debug-package}, and signing it with a debug key... - - - - - - - - - - - - - - - - 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. - + Installing ${out-debug-package} onto default emulator... - + - + Installing ${out-debug-package} onto default emulator... - + @@ -350,9 +271,24 @@ only when the assets dir exists. --> - - - + + 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. + + + +