Jasper, Texas

Travel — Titus Barik on July 15, 2008 at 3:00 pm

I will be in Jasper, Texas this week on business for Texas Electric Cooperatives. I will be returning home on Sunday, July 20th.

Installing Ant on Windows

Uncategorized — Titus Barik on July 2, 2008 at 9:30 am

This entry is a summary of the Apache guide for Installing Ant. It is targeted specifically for Windows.

  1. Download the current release of Ant and place its contents under C:\Program Files\ant\.
  2. Set the JAVA_HOME user variable under Environment Variables to a JDK, and not a JRE. In my case, this is %PROGRAMFILES%\Java\jdk1.6.0_06.
  3. Modify the PATH user variable and append %PROGRAMFILES%\ant\bin to the end of the list.

Opening a command prompt and running ant -version, we obtain the following result:

C:\Users\tbarik>ant -version
Apache Ant version 1.7.0 compiled on December 13 2006

The Ant installation recommends setting the ANT_HOME variable to %PROGRAMFILES%\ant as well, but this can be redundant as the script automatically checks for this location.

titus@barik.net | The Weblog of Titus Barik