Problem in configuring ANT....msg displays is "Buildfile: build.xml does not exist!"
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
posted
0
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
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
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