build inspection analysis errors in build.xml

When I try to commit an android project to a new mercurial repository, the pre-commit build inspection fails with two errors in build.xml.  The project builds (and executes) successfully.

The two reference resolve errors:

"Target 'help' is unknown" triggered on <project name="urlreader" default="help">
"Property 'sdk.dir' is unknown" triggered on <import file="${sdk.dir}/tools/ant/build.xml" />

The local.properties files exists and defines sdk.dir.  The full build.xml is as attached.  It should be as autogenerated.

I am using a recently upgraded IDEA 11.0.2, IC-111-277 with Java 1.6.0_30.



Attachment(s):
build.xml
1 comment
Comment actions Permalink

Hi Joel,

The target "help" is really missing from the build.xml, so it is indeed unknown.
As for other errors, these might be caused by configuration issues. If you think IDEA is configured properly, please submit an issue into the tracker

0

Please sign in to leave a comment.