I just accidentally discovered the ant task for test coverage reports with emma. I'm now looking for a target that only invokes the unit test and generates unit testing output. Is there a list with the available ant targets somewhere, or is it possible to look them up somewhere inside the code of the SDK?
+1
A:
Is there a list with the available ant targets somewhere
Not that I am aware of. I can't even see how to get Ant to dump a list. :-(
is it possible to look them up somewhere inside the code of the SDK?
They're on your development machine in $ANDROID_HOME/platforms/$API/templates
, where $ANDROID_HOME
is where you installed the SDK and $API
is some Android version (e.g., android-2.1
).
CommonsWare
2010-04-01 16:23:00
`ant -p` should dump a list of available targets.
Christopher
2010-07-07 14:49:04
A:
Android-specific ANT tasks are located in the sources tree at development\tools\anttasks\src\com\android\ant
.
Unfortunately, the build process is not modular at all (e.g. you can't plug in a Proguard task).
alex
2010-04-01 18:00:00