View Single Post
Old 12-08-2005, 13:49   #3
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Re: Anyone ever used/installed Ant?

Quote:
Originally Posted by philip.j.fry
http://ant.apache.org/manual/index.html

Try not to get too worried over it, it's just like installing any other program.
as I said, it is not very clear.

Setup

Before you can run ant there is some additional set up you will need to do:
  • Add the bin directory to your path.
  • Set the ANT_HOME environment variable to the directory where you installed Ant. On some operating systems the ant wrapper scripts can guess ANT_HOME (Unix dialects and Windows NT/2000) - but it is better to not rely on this behavior.
  • Optionally, set the JAVA_HOME environment variable (see the Advanced section below). This should be set to the directory where your JDK is installed.
1: I take it this is the bin for the ant prog, in the normal path, but not classpath?
2: is this a new variable which I name as ANT_HOME?
3: I have my java set up nicely at the moment, and the classpaths are fine, but do I need to make a new variable with JAVA_HOME?

I can't see it being that easy, to be honest

another thing, it goes on to building ant, do I have to build it as well?

ik

EDIT:
I done this, but it still does not recognise Ant.

I have downloaded a zip file for my windows machine, and extracted the zip file to a directory called ant in C:
C:\ant

I have appended my classpath to include C:\ant\apache-ant-1.6.5\lib\ant.jar;

then I appended my path with C:\ant\apache-ant-1.6.5\bin;

I then made a new variable and called it ANT_HOME and set the environment as C:\ant\apache-ant-1.6.5
ikthius is offline   Reply With Quote