ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Tilly <>
Subject RE: Call for ideas: multiple EJB targets
Date Mon, 16 Oct 2000 16:03:07 GMT

The key here is that you seem to have a similar, but very different
arrangement than ours.  It appears *all* of your descriptors are in one
directory, named with the naming convention.  Our directories follow the
naming convention with each directory having ejb-jar.xml,
weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml files.  Ejbjar does not
appear ready to traverse directories to build beans.  I can possibly change
my build environment, but I am kind of fond of the bean-per-directory setup,
allowing for other things to be stored there, like documentation, test
classes and a convenient place to actually build the bean.  You are right
about the per-bean build.xml situation though.  It's not pretty and harks
back to Make days...which is why I'm using Ant in the first place.


-----Original Message-----
From: Conor MacNeill []
Sent: Monday, October 16, 2000 9:25 AM
Subject: RE: Call for ideas: multiple EJB targets


We regularly build multiple EJBs with a single build file using the ejbjar
task. We do use the ejbjar naming convention to name the deployment
descriptors. You probably don't need to have a naming convention for the
bean and PK classes as these are specified in the deployment descriptor. A
naming convention for these is not a bad idea, just not required for

Our setup is similar to your. Code in one tree, descriptors in another. That
is mandatory for us as we deploy the same bean code with different
deployment descriptors.

I would recommend against going to separate build files for each bean.

Let me know if you need more info.


> -----Original Message-----
> From: Jesse Tilly []
> Sent: Friday, 13 October 2000 13:37
> To: ''
> Subject: Call for ideas: multiple EJB targets
> Situation:
>    Project with multiple EJBs.  Each bean has its own subdirectory for
> storing its descriptor files.  The classes are packaged within the rest of
> the source.  Each EJB class follows the convention of <bean
> name>,
> <bean name>  This naming convention *should* allow me to have n
> beans but the global build environment be unaware of any particular one by
> name.  Due to uncertainty as to which 1.2 release is "most stable", I am
> running Release 1.1.
> My idea:
>   Along with the descriptor files, each bean's directory will have its own
> build.xml to provide for the ability to jar, ejbc, deliver and deploy
> itself.  The project build file should be able to simply traverse a
> directory tree of these descriptor directories.  Unfortunately, I cannot
> find a facility within the <ant> tag that allows me to "run all build.xml
> files below a certain directory".  Beyond that, I cannot think of
> any other
> way to solve my problem.
> Any ideas?
> > J E S S E  E  T I L L Y
> > Senior Programmer, Development
> > ____________________________________________
> > HotelTools, Inc.
> > 100 Galleria Parkway, Suite 1020
> > Atlanta, GA  30339
> > ph: 770.956.4080 x5361
> > fax: 770.956.4077
> > cell: 678.524.5764
> >
> >
> >
>  <<Jesse Tilly.vcf>>

View raw message