Ant antlib/namespace support?
Does IDEA9 support Ant antlibs and namespacing?
I have a build.xml...
<project name="myProject" xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="ivy.jar" value="${basedir}/tools/ivy-2.2.0/ivy-2.2.0.jar"/>
<property name="ivy.settings.dir" value="${basedir}/config"/>
<property name="ivy.uri" value="antlib:org.apache.ivy.ant"/>
<taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="${ivy.uri}"
classpath="${ivy.jar}"/>
<ivy:settings file="${ivy.settings.dir}/ivysettings.xml" xmlns:ivy="antlib:org.apache.ivy.ant"/>
</project>
(where I setup an external resource for "antlib:org.apache.ivy.ant" that points to the ivy jar's antlib.xml)
But I can't seem to configure it so that I a green light in the code analysis
When I define an external resource for that xmlns, IDEA still flags something like ivy:settings as 'cannot resolve symbol'
If I remove the external resource, then IDEA flags 'URI is not registered' but the ivy namespaced tags are not flagged
Please sign in to leave a comment.
This issue is addressed in IDEA 10, see http://youtrack.jetbrains.net/issue/IDEA-48721.