IntelliJ Java IDE
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
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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: 3333

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
 
 
subject: Let us start this project
 
Threads others viewed
Deploy Descriptors?
Structure for J2EE application
exception and error while importingwar in websphere applicationserver6
Ant in Sun One: problem
META-INF directory?
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture