IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes installing apache ant on windowsxp 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 » Ant, Maven and Other Build Tools
Reply Bookmark "installing apache ant on windowsxp" Watch "installing apache ant on windowsxp" New topic
Author

installing apache ant on windowsxp

hoda salem
Greenhorn

Joined: Sep 19, 2004
Posts: 1
hi,

Am developing a synchronization project using sync4j and it required that i install apache ant. I downloaded the folder and i placed it in a different directory as i was told by http://ant.apache.org/manual/install.html#advanced

but i think i dont excatly understand the procedures and i need help.

thanks,

Hoda
Peter Laurinec
Ranch Hand

Joined: Sep 13, 2004
Posts: 52
Well donno exactly what are you asking but I installed and on WinXP this way.
I downloaded .zip file from the ant web page

Unpacked it anywhere you like (e.g. C:\java\apache-ant), place ANT_HOME enviroment variable pointing to the base ant directory (in this case C:\java\apache-ant) so you will be able to run it from anywhere.

And that's it, youre ready to go
just run ant command

Hope it helps


SCJP 1.5 (done, at last)<br /> <br />"If everything seems to be going well you have obviously overlooked something."
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
You might also like to add %ANT_HOME%\bin to your PATH environment variable.

If mucking around with environment variables on Windows XP is new territory for you, I'd recommend taking a look at our FAQ on how to set the CLASSPATH - another environment variable.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
 
subject: installing apache ant on windowsxp
 
Threads others viewed
Missing TelnetClient class
BSFException
NoClassDefFoundError
ANT FTP
ftpclient class not found?
IntelliJ Java IDE