This may seem like a silly question, but how the heck does one use Ant in Eclipse. I use the Run > Rus As..> Ant Build command, and all I get in the console window is
I've tried using ant from the command line, and it runs just fine. The documentation for Eclipse is somewhat lacking on Ant (my opinion anyway), and i've looked all over the web to no avail. Are there any special configurations for Ant in Eclipse?
Joined: Mar 15, 2004
There are two ways to use Ant in Eclipse (assuming your setup is the same as mine - Eclipse 3 M7, default(?!) Ant plugin).
Open the 'Ant' view (Window menu -> Show View -> ('Other...' if necessary) -> Ant. Right click in the window and do 'Add Buildfile', then find it. It should parse the file and give you a list of targets.
With External Tools (Run menu -> External Tools, or click on the running man icon on menubar). The setup here is a little more involved, but everything is reasonably explanatory.
Hope all that helps, write back if it doesn't work out.