ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deepak" <dipa...@hotmail.com>
Subject Re: help me on ejbjar for weblogic
Date Sat, 03 Nov 2001 12:24:35 GMT
hi
i think that wont be much useful, because i want to pack each of my EJB into
seperate jars with cross referenced classes also included in the jars (as
written in ejb-reference in xml docs)

thanks

----- Original Message -----
From: "Donnie Hale" <donnie@haleonline.net>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, January 03, 2002 8:06 AM
Subject: RE: help me on ejbjar for weblogic


> I use Ant to build a weblogic ejb.jar file; however, I do not use the
ejbjar
> optional task (or whatever it's called) from Ant. I found the docs for
that
> set of tasks unhelpful; and, if the docs are accurate, the tasks are
overly
> complicated.
>
> Here's what I have:
>
> 1) An "app.compile" target which builds all my .java sources except the
> remote, home, and bean-impl classes. These are jarred into an "app.jar"
> file.
>
> 2) An "ejb.compile" target builds the remote, home, and bean-impl classes
> for all my beans.
>
> 3) An "ejb.jar" target uses a <jar> task to put just the .class files from
> step 2, along with the ejb-jar.xml, weblogic-ejb-jar.xml, etc. into an
> "ejb.jar" file.
>
> 4) An "ejb.ejbc" target uses a <java> task to run ejbc against the .jar
file
> from step 3, explicitly placing the "app.jar" file from step 1 in the
> classpath. I name the output of that "ejb-depl.jar" to indicate that it's
a
> deployable .jar file.
>
> Voila! That's it, and it works perfectly for me every time. I separate out
> "app.jar" stuff from "ejb.jar" stuff because it prevents the warning about
> the EJB .class files already being in the classpath. BTW, this is with
> WebLogic 6.1.
>
> Donnie
>
>
> > -----Original Message-----
> > From: deepak [mailto:dipak__@hotmail.com]
> > Sent: Tuesday, January 01, 2002 2:50 AM
> > To: Ant Users List
> > Subject: help me on ejbjar for weblogic
> >
> >
> > hi
> > i am trying to compile my stateless EJBs using ant1.4 but the
> > problem is at
> > ejbjar it is not putting all the referenced files as specified in its
xml
> > (home and remote of other EJBs) in the jar before doing ejbc.
> >
> > The same build.xml when used with ant 1.2 works fine
> >
> > i have posted this earlier also, but nobody replied, plz help or provide
a
> > pointer to any mailing list where it can be discussed
> >
> > thanks
> >  deepak
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message