aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Let us start this project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Let us start this project" Watch "Let us start this project" New topic
Author

Let us start this project

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi all.
as we all know that ant is a build tool for java.
I want to package a complete J2EE application using ant, I have tried ant many times to build but always there are errors.
so, I want to ask you a big question.
can you post here a complete ant build file that complie and package the ejbs and packge the web application into single ear file.
I am sure that there are many novices (like me) that want to learn how to unleashed the power of ant
and use it to build there application, so I am really appreciate your time and your help to us.
amigo, allow me to begin this project:
assume that we have the following structure :

where com folder contains the java source files for the ejb and for the client.
please, if you have any correction or suggestions that will make this project easier to build,
please tell us.
(as you see, I don't know where to put the web application dir.)
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by John Todd:
I want to package a complete J2EE application using ant, I have tried ant many times to build but always there are errors.
so, I want to ask you a big question.
can you post here a complete ant build file that complie and package the ejbs and packge the web application into single ear file.

I think you could give us a good headstart by showing what you tried so far and what problems you encountered.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Let us start this project