Ant Refactors

Are you missing a feature? Request its implementation here.
scottbdr
Posts: 50
Joined: Tue Jul 21, 2009 1:48 am

Ant Refactors

Post by scottbdr »

Hi, just noticed that if you do a property name refactor, not all of the references get changed in an Ant build. Specifically, if you are utilizing the xmlns:if="ant:if" and xmlns:unless="ant:unless" namespaces for conditional execution (see https://ant.apache.org/manual/ifunless.html), these namespaced attribute values are not updated by a property name refactor. I'm sure Ant is not a huge priority for you, and I can see how this would have been missed (or deferred) but this particular thing can cause some real heartache if not caught by the developer.

Thanks, Scott
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ant Refactors

Post by Radu »

Hi,

Thanks for the problem report, I can reproduce it on my side and added an internal issue to look into fixing it. Pasting the issue ID below for future reference:

EXM-52739 Ant - rename property does not take if:set/unless:set into account

If we manage to fix this problem in a future version we'll update this thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
scottbdr
Posts: 50
Joined: Tue Jul 21, 2009 1:48 am

Re: Ant Refactors

Post by scottbdr »

Thanks for the response... the other one I couldn't remember when I posted this was the lack of a "location" attribute on the "property" element contextual menus - I use it a lot and I'm lazy so having it would be awesome.

Thanks, Scott
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ant Refactors

Post by Radu »

Hi Scott,
Thanks, makes sense, added this extra issue for it:

EXM-52750 Add support for proposing location attribute on property element

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ant Refactors

Post by Radu »

Hi,
As an update, our new release of Oxygen 26 should have fixes for both of these reported problems.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply