Get your CodeRanch badge!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant script not finding my file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant script not finding my file" Watch "Ant script not finding my file" New topic

Ant script not finding my file

Sege Stephen
Ranch Hand

Joined: Oct 06, 2007
Posts: 51
Hi, I have my ant Script, I am working through the spring tutorial.

The and build.xml are on the same level in my springapp package, but anytime it tries to read a value from the file, it comes up with any error.

Here is my ant Script

xml version="1.0"?

and here is the





When I run ant, i get this error message

C:\Documents and Settings\se1025\workspace\springapp\build.xml:87: C:\Documents
and Settings\se1025\workspace\springapp\${application.lib} not found.

i get this error when I run ant list if I substitue ${appserver.lib}with the value C:/apache-tomcat-6.0.18. It builds, then I run ant list and get this


[ August 27, 2008: Message edited by: Sege Stephen ]
Peter Johnson

Joined: May 14, 2008
Posts: 5772

Try running ant with the -v option, this might tell you a little more about what is going on.
[ August 27, 2008: Message edited by: Peter Johnson ]

JBoss In Action
I agree. Here's the link:
subject: Ant script not finding my file
Similar Threads
Ant list -- Build Failed
Regarding Ant issue.
Need help in build applications using ant : getting exception
Spring coniguration
Error The requested resource is not available