Ant file refactoring feature

IDEA very powerful in field of pure java class refactoring. But for me very painful (relatively ;) ) to do refactoring in ant build scripts.

I think it is will be very useful to have some refactorings while ant file editing. For example "Introduce property" "Move tasks to separate file" "Rename task" "Move properties to property-file" etc. etc.

Is somebody share my point of view?? (Sorry if such feature already present in IDEA)

5 comments
Comment actions Permalink

+1 I would love that feature as well.

0
Comment actions Permalink

"Rename task" is already there -- it's come in very handy, I must say.

0
Comment actions Permalink

Anatol wrote:

I think it is will be very useful to have some refactorings while ant
file editing. For example "Introduce property" "Move tasks to
separate file" "Rename task" "Move properties to property-file" etc.
etc.


"Extract Tasks To Target" would work, break out a separate target where
the parent does an <antcall/> or similiar.

0
Comment actions Permalink

+1

it would be great to be able to refactor these monster build.xml files I have seen to often.

Florian

0
Comment actions Permalink

That's a good feature...I like my build.xml brief and concise. Also,
extending this integration to Maven (Whatever happened to that plugin, did
not catch up to
Maven rc4?) will be even better.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

0

Please sign in to leave a comment.