• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
scr1.jpg
[Thumbnail for scr1.jpg]
configuration done in eclipse
scr2.jpg
[Thumbnail for scr2.jpg]
Error msg getting on console
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there a buildfile?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic