ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malik, Yousuff" <YMa...@erac.com>
Subject RE: Manifest for EJBJAR?
Date Mon, 10 Feb 2003 22:14:24 GMT
<target name="compile.ejb" depends="init, init.properties"
description="compiles the EJBs">

		<jar jarfile="${deploy.home}/temp.jar"
manifest="${deploy.home}/ejb-manifest.mf">
			<zipfileset dir="${classes.home}"
includes="**/ejb/**, **/*MsgDrivenBean*" excludes="**/UT_*"/>
			<zipfileset dir="${descriptors.dir}"
includes="*ejb-jar.xml" prefix="META-INF"/>
		</jar>

		<echo message="Generating container classes in
${ejb.file.name}"/>
		<java classname="weblogic.ejbc" fork="yes">
		  <sysproperty key="bea.home" value="${bea.home}"/>
		  <arg line="${deploy.home}/temp.jar
${deploy.home}/${ejb.file.name}.jar"/>
		  <classpath>
		  	<path refid="ejbc.class.path"/>
		   </classpath>
		</java>
		<delete file="${deploy.home}/temp.jar" quiet="true"/>

</target>

-----Original Message-----
From: Matt Lyon [mailto:matt@stargus.com]
Sent: Monday, February 10, 2003 3:59 PM
To: Ant-User (E-mail)
Subject: Manifest for EJBJAR?


Hi,

Is anyone aware of a workaround to place a custom Manifest in an ejbjar
generated by Ant? The <jar/> and <war/> tasks both support the nested
<manifest/> parameter, but the <ejbjar/> task does not. Basically, I want
the standard Manifest.mf that gets stuffed inside my ejbjar to also contain
some informational name/attribute value pairs of my own design.

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message