import file target

Hi,

I am using IDEA 5.1 build 4267 with ant 1.6.5


I have a muti-layered build system with ant.

\build\build.xml
\source\component1\build-component1.xml
\source\component2\build-component2.xml

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.

Thanks
Sunitha

Please sign in to leave a comment.