wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant Directory structure 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 "Ant Directory structure" Watch "Ant Directory structure" New topic
Author

Ant Directory structure

Sumanth Tarigopula
Greenhorn

Joined: Feb 21, 2002
Posts: 15
Hi,
We are developing J2EE application that would contain number of components.
Each component would be a ear file that would contain EJB jars and war which
can be deployed in any J2EE compliant application server.
We are currently using the Bedrock framework for applications deployed in Weblogic. It provides a very robust directory structure with most of the ant targets. However it is very custom for Weblogic.
Is there a framework that provides a robust directory structure (with built ant targets) which can be deployed into Oracle Application Server.
If not, is there any standard directory structure for building J2EE applications? Any recommended source directory structure (with support for multiple Web-Apps)and why?
Any help is greatly appreciated.
Thanks
Sumanth
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

"starigopula",
We're pleased to have you here with us in the Oracle forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks,
Jeanne
Oracle Forum Bartender


[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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

There's a suggested directory layout described in the documentation for the Tomcat server at http://jakarta.apache.org/tomcat and I've successfully used this as a basis for many different server products. Ant has no problem with this sort of structure. Since 9iAS claims to be "100% compatible with Tomcat", it should do well. If not, I'll know myself soon enough.
The key is in being able to build standard deployable J2EE objects (JARs, CARs, WARs and EARs). I do this in 2 stages - first I build into a "build" directory - which usually contains my exploded webapp(s) and then collect the results of the build and produce the deployable units in a separate "dist" directory. If done with proper care, you can run both Ant and IDEs that do edit-time compiling such as Eclipse and they will work happily together.
We have an Ant forum which you may want to vist for Ant-specific help.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Moving to ant as suggested
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant Directory structure
 
Similar Threads
Ant Directory Structure
Does weblogic 7.0 supports struts framework?
J22E definition
How to Deploy webapplications(JSP) on weblogic server
c++ or Java--your suggestions please