import file target


I am using IDEA 5.1 build 4267 with ant 1.6.5

I have a muti-layered build system with ant.


and so on..

This gives me the capability to build individual components or use the master build.xml to build all at once.

In my build.xml I have defined an import target


This allows me to call targets defined within those indidivual files.

I have two issues that i was wondering if you know how to resolve.

1.When I add the build.xml in my Idea's ant build window, it does not automatically display the targets in the sub-build files? Is there a way to do this?
2. The import file targets appear in red in the build.xml as if it does not recognize these files.

Please let me know if there is a way to resolve this or if it is a bug.


Please sign in to leave a comment.