ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wierzbicki <wierzbic...@yahoo.com>
Subject Re: EJB Compilation with ant
Date Mon, 16 Apr 2001 19:51:07 GMT
Oops, ignore the args= "-d ${dest}" in the weblogic part, I was experimenting
:)
Also, you might want to put a classpath element in the weblogic part.
--- Frank Wierzbicki <wierzbickif@yahoo.com> wrote:
> Todd,
> 
> The ejbjar task allows you to include a <weblogic> element that will run
> weblogic ejbc.  The resulting ejbjar task should look something like this
> where
> ${dest} is the root directory of already compiled java classes to be used by
> ejbjar:
> 
> 
>     <ejbjar srcdir="${dest}"
>             destdir="${dest}"
>         <include name="**/*-ejb-jar.xml"/>
>         <exclude name="**/*-weblogic*.xml"/>
>         <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
> 1.1//EN"
>           
> location="${weblogic}/classes/weblogic/ejb/deployment/xml/ejb-jar.dtd"/>
>         <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN"
>           
>
location="${weblogic}/classes/weblogic/ejb/deployment/xml/weblogic-ejb-jar.dtd"/>
>         <weblogic destdir="${dest}"
>                 args=" -d ${dest} " />
>     </ejbjar>
> 
> --- T J Morgan <tmorgan@cinci.rr.com> wrote:
> > Im a newbe to ant and I know it is possible, but I don't know how to
> compile
> > EJBs with ant.  Im using WL5.1.  Any help is greatly appreciated.
> > 
> > Todd Morgan
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message