You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/20 03:19:13 UTC

[Ant Wiki] Update of "AntOnWindows" by AdamNess

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.

The following page has been changed by AdamNess:
http://wiki.apache.org/ant/AntOnWindows

------------------------------------------------------------------------------
  = Windows installation =
- Download and run the [http://code.google.com/p/winant/ Windows installer for Apache Ant]
+ There are two ways to install Ant on Windows.  
  
+ == WinAnt ==
+ For a quick and easy installation, use the [http://code.google.com/p/winant/ Windows installer for Apache Ant].  This installation of Ant will automatically install Ant into the C:\Program Files\WinAnt path by default.  It also sets up your ANT_HOME and PATH variables to point at the new installation.
+ 
+ == Manual Install == 
+ For most users, the WinAnt install is recommended.  However, it is possible to manually install ANT if you wish.  To manually install ANT:
+ 
+ # Download a .zip binary distribution from the [http://ant.apache.org/bindownload.cgi ANT Binary Page].  
+ # Save the .zip file to a temporary location on your hard-disk (such as the desktop)
+ # Expand the contents the folder inside of the .zip file into a directory on your hard drive (i.e. C:\dev\ant)  
+ # Go to your "System" Control Panel.  In Vista, click the "Change Settings" button under the "Computer name, domain, and workgroup" heading.
+ # On the "Advanced" tab, click the button at the bottom labeled "Environment Variables"
+ # At the top of the screen, add a new User variable.  The name should be ANT_HOME, and the value should be the path your zip file was extracted to.  (i.e. ANT_HOME = C:\dev\ant)
+ # Add your java JDK Path to the user variables as well.  The name should be JAVA_HOME and the value should be the path to the JDK software on your hard-drive.  (i.e. JAVA_HOME = C:\Program Files\java\jdk1.6.0_02)
+ # If there is already a PATH variable, edit it and add to it.  Otherwise, create one more variable named PATH, and add to it ;%ANT_HOME%\bin
+