How can I get the value of the current target ant?
Does it exist a special variable something called TARGET?
Based on the issue you have to patch ant or used javascript:
<target name="test"> <script language="javascript"> project.setNewProperty("current_target", self.getOwningTarget()); </script> <echo>${current_target}</echo> </target>
1.4m articles
1.4m replys
5 comments
57.0k users