6.0 (and 6.0.2) ANT problem

Hi.

We have 2 ANT scripts.

We filtered a bunch of targets in the 1st one.

Attached are both.

Attached is also the ANT panel, which shows targets from the 1st ANT
script under the 2nd one (and prepends their names with the name of the
1st one, really weird).

Anyone else seeing this?

Amnon



Attachment(s):
Wrong ANT targets.PNG
build_profiler.xml
build.xml
2 comments

Hello Amnon,

This is intended behaviour. One of your files ("Profiler") imports the other
("Web"), and all targets from "Web" are displayed under "Profiler". To distinguish
them from the own targets (which theoretically may have same names) IDEA
prepends imported target names with the build script name. BTW, this is how
Ant distinguishes targets if there is a name clash between own and imported
targets.

Best regards,

Vladislav Kaznacheev
Project Manager, IntelliJ IDEA
http://www.jetbrains.com
"Develop with Pleasure!"

Hi.

We have 2 ANT scripts.

We filtered a bunch of targets in the 1st one.

Attached are both.

Attached is also the ANT panel, which shows targets from the 1st ANT
script under the 2nd one (and prepends their names with the name of
the 1st one, really weird).

Anyone else seeing this?

Amnon



0

Thanks for the explanation!

Amnon

TVladislav Kaznacheev wrote:

Hello Amnon,

This is intended behaviour. One of your files ("Profiler") imports the
other ("Web"), and all targets from "Web" are displayed under
"Profiler". To distinguish them from the own targets (which
theoretically may have same names) IDEA prepends imported target names
with the build script name. BTW, this is how Ant distinguishes targets
if there is a name clash between own and imported targets.

Best regards,

Vladislav Kaznacheev
Project Manager, IntelliJ IDEA
http://www.jetbrains.com
"Develop with Pleasure!"

0

Please sign in to leave a comment.