I have an unwieldy ant project from another team that I would like to work on in eclipse. Is there an equivalent to maven’s eclipse:eclipse command for ant?
I can import it into eclipse manually but there are a number of steps required which I need to do to get it working properly in eclipse and I would like to automate those.
If you’ve inherited someone else’s code, and want to get started quickly, I’d suggest the ANT2IDE project. Doesn’t require any updates to the build, because it cleverly uses an ANT build listener to determine the jars used by the javac task.
If you’ve got time to refactor the build, I’d suggest using ivy to manage the dependencies. There is an Eclipse plugin available.