Community
Participate
Working Groups
The function "Hide internal targets" in the ANT view basically works, i.e. all targets beginning with a "-" character are hidden. This also works with hidden targets that exist in another ANT file that is "imported" from the project ANT file. But it doesn't work if such a target is "overwritten" in the project ANT file. Example: ANT_include.xml: <target name="-setClasspath"> .... </target> Project_build.xml: <import file="../ANT_include.xml"/> <target name="-setClasspath"> .... </target> So the target is basically "overwritten". The reason is, that ANT_include.xml has lots of targets that are dependen on this "-setClasspath" target, but the concrete implementation of teh target is done in the project ANT files (that include ANT_include.xml). So the same target name needs to be in ANT_include.xml and teh concrete project ANT file. The Eclipse ANT view now shows "include.-setClasspath [from import ../ANT_include.xml]" even though this (these) targets are hidden!
Cannot prioritize this with other commitments around but If someone can provide a quality patch for the fix, we can look at it.