• 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

Ant

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting error messages like "build.xml" can not be found "Build Failed!' when ever I try to run the ant command.
My set up for ant is ANT_HOME C:\jakarta-ant-1.3
Can anybody help please?
Yem
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yem,
JavaRanch has a naming policy which is strictly enforced. Please read the policy and change your display name if you wish to continue posting here.
You can change your name:
here
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you added %ANT_HOME%\bin to your PATH statement?
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Run Ant in the directory where you have your build file. Ant looks for a file named build.xml by default. If you've used a different name, use ant -buildfile. Have a look at the docs that should be in the folder where you installed Ant or type ant -help on the command line.
Craig
 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you need the build.xml file in somewhere to run Ant. Or if you specify
ant -buildfile yourownbuildfile.xml
Check the Ant manual you downloaded for intro. and tasks. The API helps too if you use more extensively.
$ANT_HOME\docs\manual\index.html
$ANT_HOME\docs\manual\api\index.html
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can read my intro to Ant from the JavaRanch newsletter:

http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#ant
reply
    Bookmark Topic Watch Topic
  • New Topic