Is there a way for my eclipse project to inherit the build classpath from existing Ant build.xml files? It would be nice if I didn't have to keep the eclipse project and the ant build in sync!
+1
A:
Off-hand, I'd say no, but see here http://www.ant4eclipse.org/node/6 for an attempt at doing the opposite (keeping the Ant build path in sync with Eclipse). Maybe that's of some use?
ig0774
2010-04-07 01:55:08
Thanks but I don't think it's a good idea to have the build system dependent on any particular IDE.
Alex Worden
2010-04-07 17:04:34
I tend to agree. That said, the notion of "the classpath" is somewhat nebulous is ant, since you can use different classpaths for different tasks. One recommendation might be to look at Ivy, if you don't mind modifying the build files (Ivy has good integration with both Eclipse and Ant).
ig0774
2010-04-07 21:28:57