aspose file tools*
The moose likes Servlets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark ""Error in ant build.xml file"" Watch ""Error in ant build.xml file"" New topic
Author

"Error in ant build.xml file"

mohannara narangoda
Greenhorn

Joined: Nov 29, 2004
Posts: 1
Hey Guys,
i am currently involving in a servelet project (RendreX). i want to install apachi ant as a prerequirement. i am using windows 2003 server. I already downloded latest ant version and apache tomcat4.0. Also i have set all the class path,ANT-HOME(C:\ANT) and other relevent paths. But when i run ant command in the command prompt(C:\ANT>ant)will generate error state that "build.xml" file can't be found. Have i done any wrong thing here?
It would be greatly appriciated if u can send me some advice to over come this problem.

Best Regards
Mohan
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

you need to add the ant_home/bin to your path, cd to the directory containing the build.xml file, then call 'ant' there.
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Have you been through ant manual, it should be in your download bundle.
These are the online version for Running Ant


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Error in ant build.xml file"