Duplicate Ant Target Warnings

I commonly work off of NetBeans 5.0 project files. These are a specific Ant build file structure where you are able to "override" imported targets to customize the build. This is used frequently and as such, my build.xml file is now littered with errors.

Example from my build.xml file:

Target '-post-init' is duplicated in imported file 'build-impl.xml'

This of course makes maintaining my project's build.xml quite cumbersome. Can this be handled better? Perhaps in a similar manner to overriding methods?

I am currently using build #5692

--
Matthew

Please sign in to leave a comment.