You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Saripalli, Raju" <Ra...@jenzabar.net> on 2002/08/09 18:20:26 UTC

Problems with ejbjar & weblogic

Hi,

I am trying to use the ejbjar and weblogic tasks in
Ant 1.5 and I am getting an error. For some reason,
the weblogic-cmp-rdbms-jar.xml file is not being included
in the "jar" process and fails to get pplaced into the
jar file. When weblogic.ejbc runs it cannot find the file
and craps out.

Does anyone have any suggestions ?

The build target is below:

   <target name="EJB_ejbcompile" depends="EJB_compile">
   		
   	<ejbjar naming="descriptor" srcdir="${BIN_DIR}"
descriptordir="${EJB_DD_DIR}" dependency="none">
   		<weblogic 	newCMP="true" destdir="${BIN_DIR}" 
	
classpath="${WL_CLASSPATH};${BIN_DIR};${LIB_DIR}" keepgeneric="yes" />
   		<include name="**/Identity*-ejb-jar.xml"/>
   		<exclude name="**/*-weblogic*.xml"/>
   	</ejbjar>
   	
   </target>


Thanks,

Raju

Re: Problems with ejbjar & weblogic

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Saripalli, Raju wrote:
> Hi,
> 
> I am trying to use the ejbjar and weblogic tasks in
> Ant 1.5 and I am getting an error. For some reason,
> the weblogic-cmp-rdbms-jar.xml file is not being included
> in the "jar" process and fails to get pplaced into the
> jar file. When weblogic.ejbc runs it cannot find the file
> and craps out.
> 

Ant uses the <type-storage> field from the weblogic descriptor to locate the 
CMP descriptor. What value do you have there and what is the filename of the 
CMP descriptor?

Conor


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>