Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

how to find out which ant the eclipse is using

Thread view: 
david wolf - 02 May 2006 14:33 GMT
how to know which ant (I installed multiple version of ants in my box)
my eclipse uses? (i configed eclipse a while ago, not sure which
version of ant I am using now).

Thanks,

David
Rhino - 02 May 2006 15:57 GMT
> how to know which ant (I installed multiple version of ants in my box)
> my eclipse uses? (i configed eclipse a while ago, not sure which
> version of ant I am using now).

Two ways:

1. Go to the plugins directory of your Eclipse installation, e.g.
e:\eclipse\plugins, and look for a folder whose name starts
"org.apache.ant". The last part of the name of that folder indicates the
version of Ant you are using, e.g. org.apache.ant_1.6.5 indicates that you
are using Ant 1.6.5.

2. Right-click on any build file, e.g. build.xml. Choose "Run as -> Ant
Build...". Choose the "Main" tab. Enter this in the "Arguments:" text
area: -version. Click the Apply button. Click the Run button. The build file
will run and display the Ant version, the current date, and the elapsed time
to run the build file. The actual targets and tasks in the build file will
not be executed. (Naturally, you should remove '-version' from the Arguments
portion of the Main tab after you have determined what version of Ant you
are running; otherwise, you will only ever get the Ant version when you run
that build file.)

--
Rhino


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.