Re: Problem with ANT_HOME
Posted By:
Anonymous
Posted On:
Sunday, April 3, 2005 11:30 AM
Verify ANT_HOME by calling env from your command prompt. It should show something like:
ANT_HOME=d:javaworklibapache-ant-1.6.1
If it doesn't show up at all, open a new command window and try again. Sometimes changes made to the system and user variables are not seen if the command shell was started before the change was made (ask Bill).
Once this set correctly you should be able to invoke ant from anywhere. If a build.xml file does not exist in the directly where you issue the command, you'll get an error message from ant, but then you'll know ant is working.
If this still doesn't work, check that you don't have a missing ; or path separator somewhere in your definition of the ANT_HOME environment variable.