ANT optional task workaround

I think IDEA's ANT editor does not honor the 'additional classpath'
property as it should.

I have an antfile which uses the task, included in optional.jar which requires (surprise) jdepend.jar. IDEA's ANT editor highlights the ]]> as error ("Element jdepend is
not allowed here") even if in the additional classpath for the ANT file
I did add jdepend.jar (and in fact the target with that task runs with
no problem).

The only way I found to have the annoying errot to go away is to add
jdepend.jar to idea/lib, but it is only a workaround ...

I submitted it in tracker as


Please sign in to leave a comment.