Ant: Custom tasks which define properties

My Ant build uses some custom tasks that define properties named in an attribute when executing the task. For example:

]]>

Defines a property called build.platform which contains the platform name (e.g. windows-ia32 or solaris-sparc).

However, any references to the build.platform property are marked in the IDEA editor as being undefined. Naturally, I can see why this is, IDEA doesn't know anything about my custom task. But is there some way this can be improved? I see a lot of red in my build.xml files but they work perfectly :(

0

Please sign in to leave a comment.