SE450: Ant: Environment Settings [19/41] Previous pageContentsNext page

To make this the default on your machine:

On Windows (NT-ish systems):

  1. Go to Start->Settings->Control Panel->System
  2. Click on Environment
  3. In the Variable text box, add ANT_HOME
  4. In the Value text box, add the path to your Ant install (i.e. C:\jakarta-ant-1.5.1)
  5. Click on the PATH environment variable.
  6. Edit it to be <previous settings>;%ANT_HOME%\bin
  7. Click Apply/OK

On Windows (2000/NT/XP-ish systems)

  1. Go to Start->Settings->Control Panel->System
  2. Click on Advanced->Environment Variables
  3. In the User variables section, click Add and add ANT_HOME in the Variable Name box.
  4. For the Variable value text box, add the path to your Ant install (i.e. C:\jakarta-ant-1.5.1)
  5. Click on the PATH environment variable (in either system or user variables) and click Edit.
  6. Edit it to be <previous settings>;%ANT_HOME%\bin
  7. Click Apply/OK

On Windows 9x:

Add an entry in your autoexec.bat for ANT_HOME and PATH that is identical to the settings above from the command line.

On Unix:

Add an entry in your .profile for ANT_HOME and PATH that is identical to the settings above from the command line.

Previous pageContentsNext page