This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I think it would be VERY nice if Netbeans would support Ant properties/tasks refactoring. For example I have code: <property name="myProperty" value="myValue" /> And I want to rename/delete this property. And in this case I should get this property references renamed in all places. If I delete it - the functionality should be like refactor/delete a java-class field/method. I think it will be very useful to handle big/legacy ant scripts. Thank you.
It would be useful. There is unfortunately no one to work on enhancements for the Ant integration. As with any scripting language, such a feature could not be precise; there is no way to know what other scripts might load this one, or what tasks might treat certain property names, specially, etc.
I am not too proficient with Ant. But as far as I know into Ant there is <import> directive that shows scripts have to be imported. And I think use of properties/tasks can be tracked via the application. If I am wrong and it cannot be tracked - I think this feature anyway will be useful. At developer's risk :) Also please add to future plans the functionality like that: 1. highlight all propertiy/task usages in current script 2. show targets hierarchy
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Still valid in 8.2 dev Product Version: NetBeans IDE Dev (Build 201607100002)