File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 30085

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: 30085

Also, I tried the downloads page for that tutorial. It contains a zip file with everything you need - including the build.xml.
It is sorta covered in the JavaRanch Style Guide.
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