ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Hoppe" <>
Subject RE: <ejbjar>, <ejb-ref> Problem
Date Fri, 12 Jan 2001 13:16:46 GMT

this is an example of the new style ejbjar task.

		<ejbjar srcdir="../../compile"
			<weblogic destdir="../../application/fbs/serverclasses/temp"
oldCMP="false" rebuild="false" compiler="jikes">
					<path refid="base_classpath"/>
					<pathelement path="../../compile"/>
			<include name="**/ejb-jar.xml"/>
			<exclude name="**/weblogic*.xml"/>

The descriptors are ejb-jar.xml, weblogic-ejb-jar.xml and the bunch of
weblogic-cmp-rdbms-jar-<entityname>.xml files, all located in
The srcdir is the directory where the compiled classes are located.
The descriptordir points to the directory where the descriptors are actually
The basejarname attribute is the actual name of the resulting jar
(futunaentity.jar in this case).
the attribute 'rebuild="false"' causes the weblogic task to run ejbc just in
case that interfaces of ejbs have been changed. Otherwise just the modified
bean class is replaced in the jar.


View raw message