• 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

error reading the project

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whenever I type in 'ant' it gives me this error:
"Buildfile: build.xml
BUILD FAILED
Error reading project file"
Can somebody kindly help.
Regards.
 
author
Posts: 799
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's what ant reads by default as the project file. It looks for build.xml in the current directory. You can use a different build file using -f. Type ant -help for a full list of options.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This has more to do with ANT than with Testing, so I will move it.
 
Rami Sawas
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you.
I chose te file that I want, but gave me 'Junit not found in Ant's CLASSPATH'. It took me to the problem I was facing a while back and couldn't fix it until now.
I made sure junit.jar is in the CLASSPATH.
I copied junit.jar to Ant lib directory.
Can somebody kindly help.
Regards.
 
Jeff Langr
author
Posts: 799
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure. Try downloading Ant 1.6.1; I believe it has JUnit built in.
-j-
 
Rami Sawas
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried that as well. I've been told I don't have a <fail> in my build.xml file...I'm not sure if that's the reason.
 
reply
    Bookmark Topic Watch Topic
  • New Topic