aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Basic question in Ant tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Basic question in Ant tool" Watch "Basic question in Ant tool" New topic
Author

Basic question in Ant tool

phil shea
Greenhorn

Joined: Aug 24, 2005
Posts: 12
HI,
I am new to Ant build tool. I am trying to use it. I have unzipped the Ant into a folder and set the ANT_HOME environment variable. Seems everything is set properly.
Now, i have only one .java file in a folder. I have copied one sample build.xml file into that folder and in command prompt when i say "ant", it's saying Usage: bla bla bla.

can anyone help me out.

-phil
Geoffrey Falk
Ranch Hand

Joined: Aug 17, 2001
Posts: 171
    
    1
Do you have the ANT_HOME/bin directory in your PATH?

Geoffrey


Sun Certified Programmer for the Java 2 Platform
phil shea
Greenhorn

Joined: Aug 24, 2005
Posts: 12
I do have that.

-phil
Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
Check for JAVA_HOME , if it is not set
then set the JAVA_HOME and see what happens


||||||||||||||||||||||||||||||


Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Basic question in Ant tool