struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mac Ferguson" <mac.fergu...@sympatico.ca>
Subject RE: CVS directory structure
Date Sun, 01 Apr 2001 20:07:02 GMT
Since I deploy most of the stuff I write as .EAR files, this is the
structure I use:

/
build.xml <-- ANT build file)
	/src
		/client <-- client source packages
		/web	<-- web source packages
		/ejb	<-- ejb source packages
	/build
		/ejb	<-- ejb-jar file is assembled here
		/web	<-- war file is assembled here
		/j2ee <-- ear file is assembled here
	/lib <-- compile-time libraries go here
	/etc <-- deployment descriptors and various properties file go here
	/release <-- after the ear file is assembled it is copied here (I usually
make this the deploy directory in my app server)

This allows me to re-use the same Ant build file with minimal
re-configuration and the /build directories allow me to pull out and inspect
the various components at any stage of the build process. The only
refinement I'm considering right now is to subdivide the /etc directory
Hope this helps
Mac Ferguson

>
>
>
>
> On Fri, 30 Mar 2001, Mitesh Mehta wrote:
>
> > I am trying to figure out the CVS directory structure for a large
> > multi-component web application.
> >
> > I know that the Servlet/JSP specs prescribe a certain directory
> structure
> > that is used to build war files.  I am interested in knowing if
> any of you
> > have added to that structure or have any advise or pointers
> based on your
> > own experience.
> >


Mime
View raw message