Page 1 of 1
Ant Refactors
Posted: Sat Mar 04, 2023 1:59 am
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
Re: Ant Refactors
Posted: Mon Mar 06, 2023 8:39 am
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
Re: Ant Refactors
Posted: Mon Mar 06, 2023 7:49 pm
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
Re: Ant Refactors
Posted: Tue Mar 07, 2023 7:47 am
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
Re: Ant Refactors
Posted: Thu Oct 12, 2023 8:50 am
by Radu
Hi,
As an update, our new release of Oxygen 26 should have fixes for both of these reported problems.
Regards,
Radu