You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Malcolm Barclay <in...@malcolmbarclay.com> on 2002/08/16 04:22:06 UTC

Ant Newbie - Running Ant 1.5

I am having problems running Ant 1.5 (binary version on Windows 2000
Server).

I have done the following:

 - Added ANT_HOME environment variable of c:\ant
 - Added c:\ant\bin to PATH
 - Have set up JAVA_HOME environment variable (using JRE 1.4.0_01)

When I try to run ant:

C:\>ant

I get the following error:

BuildFile: build.xml does not exist!
BuildFailed

Am following the manual correctly?

Regards,
Malcolm


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Ant Newbie - Running Ant 1.5

Posted by Yining <yi...@extropia.com>.
Hi, 

The msg already says it, you need a build.xml file, in which you specify
what tasks to do to build your project.

You may find the ant info at jakarta site[1], or here[2]

[1] http://jakarta.apache.org/ant/manual/index.html
[2] http://varnam.org/articles/ant1.html

Have fun. :-)

-----Original Message-----
From: Malcolm Barclay [mailto:info@malcolmbarclay.com] 
Sent: Friday, August 16, 2002 10:22 AM
To: ant-user@jakarta.apache.org
Subject: Ant Newbie - Running Ant 1.5


I am having problems running Ant 1.5 (binary version on Windows 2000
Server).

I have done the following:

 - Added ANT_HOME environment variable of c:\ant
 - Added c:\ant\bin to PATH
 - Have set up JAVA_HOME environment variable (using JRE 1.4.0_01)

When I try to run ant:

C:\>ant

I get the following error:

BuildFile: build.xml does not exist!
BuildFailed

Am following the manual correctly?

Regards,
Malcolm


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>