ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Tsao" <jt...@atinera.com>
Subject Combining EJBs into one jar
Date Tue, 14 Aug 2001 18:41:11 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4417.0">
<TITLE>Combining EJBs into one jar</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P><FONT SIZE=2>I would like to combine my EJBs into a single jar.&nbsp; </FONT>
</P>

<P><FONT SIZE=2>So far, I've put all of the descriptor information into two files:</FONT>
</P>

<P><FONT SIZE=2>- ejb-jar.xml</FONT>

<BR><FONT SIZE=2>- weblogic-ejb-jar.xml</FONT>
</P>

<P><FONT SIZE=2>For some reason, Ant is having trouble building the EJBs this
way.</FONT>

<BR><FONT SIZE=2>If I name the descriptor files using the naming convention</FONT>
</P>

<P><FONT SIZE=2>- LoginEJB-ejb-jar.xml</FONT>

<BR><FONT SIZE=2>- LoginEJB-weblogic-ejb-jar.xml</FONT>

<BR><FONT SIZE=2>(even though the descriptor files actually contain information
for all of the EJBs)</FONT>
</P>

<P><FONT SIZE=2>then it works !!&nbsp; I will have a resultant EJB called
LoginEJB.jar that contains all</FONT>

<BR><FONT SIZE=2>of my EJBS, and the two descriptor files.&nbsp; I guess I
could just rename the jar at</FONT>

<BR><FONT SIZE=2>that point, but I would like a cleaner solution.</FONT>
</P>

<P><FONT SIZE=2>Anybody ???</FONT>
</P>

<P><FONT SIZE=2>Thanks,</FONT>
</P>

<P><FONT SIZE=2>Jamie</FONT>
</P>

</BODY>
</HTML>

Mime
View raw message