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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30894
    
158

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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30894
    
158

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: http://aspose.com/file-tools
 
subject: Ant build fail.