ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Williams <dennyjoewilli...@yahoo.com>
Subject Adding classes to ejb jars using <support> with <ejbjar>
Date Mon, 20 Jan 2003 17:09:40 GMT
Hi, 

I'm having trouble adding support classes to my ejb jar file using the nested <support>
tag of
ejbjar.

I've follwowed the suggested directions, and no file is included. I can include the support
class
within the jar, but only if I include it's full path within the  tag. This leaves me with
an
incorrect path for the class file within the jar.

Here's an example of what I'm attempting to do :-

<ejbjar srcdir="${stage}" descriptordir="${dd}" basejarname="startingpointEJB">
	<support dir="${classes}">
	<include name="/network/utils/Support.class"/>
	</support>
	<weblogic destdir="${deploy}/applications">
	<classpath>
		<pathelement location="${deploy}/lib/network.jar"/>
		<pathelement location="lib/weblogic60/weblogic.jar"/>
	</classpath>
	<wlclasspath>
		<pathelement location="lib/weblogic60/weblogic.jar"/>
		<pathelement location="${deploy}/lib/network.jar"/>
	</wlclasspath>
	</weblogic>
	<include name="*ejb-jar.xml"/>
	<exclude name="*weblogic*.xml"/>
</ejbjar>

Has anybody else had the same problem?

DJW

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
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