The moose likes IDEs, Version Control and other tools and the fly likes Eclipse ant question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse ant question" Watch "Eclipse ant question" New topic
Author

Eclipse ant question

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Is there any way to execute a task directly? I mean, the way I do it is to right click in my build.xml in the navigator, select Run Ant and check the target I want, and click run.
the outline browser (below the navigator) shows all the tasks available in my build.xml. I thought it could be as simple as right-clicking the task and execute it..
this is my first week using eclipse, so please understand


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
I think I got it, this is how I did it:
window -> show view -> other...
select the ant folder and then click on the "add build file"...
now the targets appear and you can simply right-click to run your tasks.
 
 
subject: Eclipse ant question
 
Threads others viewed
Eclipse + Junit 4.4 + JunitReport
Error running javac.exe compiler
import to eclipse
Problem with JUnit integration in Eclipse
Eclipse Ant Integration (or, I want a big Ant Button)
MyEclipse, The Clear Choice