File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Ant build fail." Watch "Ant build fail." New topic
Author

Ant build fail.

Deepak Prasanna Ramaswamy
Greenhorn

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 http://www.ibm.com/developerworks/opensource/tutorials/os-ag-springframe2/section6.html.

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
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

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
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

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.