Reputation: 21
I'm currently using a custom build.xml that configures ProGuard with ant, but I am receiving a few problems when running:
>ant clean release
from the command prompt.
Specifically,
1) "Could not load definitions from resource anttasks.properties. It could not be found."
2) "Could not load definitions from resource emma_ant.properties. It could not be found."
3) "Problem: failed to create task or type setup" on line setup [import="false"/] where the brackets are really < and >.
My build.xml file can be found at the following link:
(http://pastebin.com/SZXesU8P)
Any help is greatly appreciated!
Ryan
Upvotes: 1
Views: 2008
Reputation: 77951
Your Emma task related configuration is here:
<!-- Emma configuration -->
<property name="emma.dir" value="${sdk.dir}/tools/lib" />
<path id="emma.lib">
<pathelement location="${emma.dir}/emma.jar" />
<pathelement location="${emma.dir}/emma_ant.jar" />
</path>
<taskdef resource="emma_ant.properties" classpathref="emma.lib" />
Questions:
Since your ANT file does not set the sdk.dir property, I'm guessing that's the problem.
Upvotes: 2