Code Monkey home page Code Monkey logo

zutubi-android-ant's Introduction

Zutubi Android Ant Tasks
========================

Introduction
------------

The zutubi-android-ant project provides a collection of Ant tasks that
are useful for Android (http://www.android.com/) projects.  These
tasks are intended to complement the Ant support provided by the
Android SDK.

Home Page
---------

The zutubi-android-ant project has home on the web at:

http://zutubi.com/source/projects/zutubi-android-ant/

Check it out for full project documentation.

License
-------

This code is licensed under the Apache License, Version 2.0.  See the
LICENSE file for details.

Quick Start
-----------

To use zutubi-android-ant in your projects, you can:

* Download the latest jar from:
    http://github.com/jsankey/zutubi-android-ant/downloads
  and add it to your source tree.
* Define a namespace on the root element of your build file as follows:
    <project name="MyProject" xmlns:zaa="antlib:com.zutubi.android.ant">
* Nested within this root element, add the following taskdef:
    <taskdef uri="antlib:com.zutubi.android.ant"
             resource="com/zutubi/android/ant/antlib.xml"
             classpath="path/to/zutubi-android-ant.jar"/>
* Reference the tasks in under the zaa: namespace, e.g.:
    <target name="run-lint">
        <zaa:lint>
            <arg line="--check MissingPrefix /src/astrid/">
        </zaa:lint>
    </target>

Available Tasks
---------------

Currently, zutubi-android-ant contains the following tasks:

* addusedpermission   : adds <uses-permission> elements to a manifest
* bumpversion         : bumps the project versionCode (optionally versionName)
* getversion          : captures the versionCode and versionName to properties
* libproperties       : makes it easy to link library sources in Eclipse
* lint                : convenience task for running Android lint
* ndkbuild            : convenience task for running native builds
* removeusedpermission: removes <uses-permission> elements from a manifest
* setversion          : sets the project versionCode and/or versionName

Full documentation for the tasks is available online:

http://zutubi.com/source/projects/zutubi-android-ant/documentation/#tasks

More Information
----------------

For more details check out:

* The project home page (includes full documentation):
    http://zutubi.com/source/projects/zutubi-android-ant/
* The example projects in the examples/ subdirectory (requires a built jar).
* The GitHub project page:
    https://github.com/jsankey/zutubi-android-ant/

Building
--------

To build the task jar, use ant in the root directory of this source
tree:

$ ant jar

More ant targets are available, for details run:

$ ant -p

The build uses the Ant Script Library (http://www.exubero.com/asl/)
for those that wish to understand further.

Feedback
--------

If you have any thoughts, questions etc about the tasks, you can
contact me at:

  [email protected]

All feedback is welcome.

zutubi-android-ant's People

Contributors

jsankey avatar jsankey-netpage avatar cmdrdats avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.