This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Ant build fail. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Ant build fail." Watch "Ant build fail." New topic

Ant build fail.

Deepak Prasanna Ramaswamy

Joined: Aug 27, 2009
Posts: 3
Hi folks, I am very new to java and spring. I was trying out my first ever application in spring.
I followed this tutorial

I am unable to build using ant.
I get this error when I try to build.

There is no where in that tutorial the author has mentioned to create build.xml file.
As a new bie I guess 'build.xml' is a file which ant generates.

Help me get through this step.
Thanks in advance.

There is only one thing which god lacks, and that is existence!!
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30138

Ant reads the build.xml. It's like a list of build commands in XML form. You need to have a build.xml file. I'm surprised IBM didn't supply one.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30138

Also, I tried the downloads page for that tutorial. It contains a zip file with everything you need - including the build.xml.
I agree. Here's the link:
subject: Ant build fail.
Similar Threads
Error building a Project using Ant
XDoclet Error
Malformed \uxxxx encoding error !!
Build failure in Step-by-step tutorial
Springapp Tutorial FileNotFoundException at Step 1.11, running ant deploy reload