We have a Java application and a supporting Ant build.xml file, and the team use the Eclipse IDE. I (and others) have the same application checked out several times, usually different branches. In the Eclipse "Ant" view, I get a list of the Ant projects, but they all have the same name - coming from the 'project' element of the Ant buildfile.
I would dearly love to be able to rename these without having to change build.xml, because doing so will force me to have to commit or rollback the change, and will get confused with any "real" changes to the buildfile.
As it is, I have to click on the project name in the Ant view to check I'm in the right one before I run any target, and there's a continuing risk I'll run a target against the wrong project.
Ideally, I'd like either to be able to visually annotate the Ant projects in Eclipse OR to override the Ant project name from an Eclipse project variable or setting.
Surely this is a quite common issue, any ideas?
Thanks, Stephen.