aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Problem in configuring ANT....msg displays is 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 "Problem in configuring ANT....msg displays is "Buildfile: build.xml does not exist!"" Watch "Problem in configuring ANT....msg displays is "Buildfile: build.xml does not exist!"" New topic
Author

Problem in configuring ANT....msg displays is "Buildfile: build.xml does not exist!"

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
hi iam a newbie to java. Iam trying to configure ant on the eclipse IDE.

Following is path given for ant in eclipse:-
C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.7.0\bin\ant.bat

But iam not able to run the ANT. it is giving me the following msg on the console of eclipse:-

Buildfile: build.xml does not exist!
Build failed

Please refer the attachments of screen shots taken for more information.

I want to know one more thing also that apart from giving the path of ANT in eclipse is there any other configuration required in my overall machine to run ANT like we used to specify the path of java_home, path etc in system variables ?

please help me sort out this issue.
thanks in advance



[Thumbnail for scr1.jpg]


[Thumbnail for scr2.jpg]



Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Is there a buildfile?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

is there any other configuration required in my overall machine to run ANT


Set ANT_HOME to where Ant was installed. Also add %ANT_HOME%\bin to the PATH.

By the way, I strongly recommend that you not put Ant into Program Files - paths with spaces in them tend to confuse some Java libraries. I have mine at c:\apps\java\apache-ant-1.8.0RC1


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in configuring ANT....msg displays is "Buildfile: build.xml does not exist!"