ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody Johnston <>
Subject Re: Manifest file in Weblogic ejbjar task
Date Wed, 14 Nov 2001 02:57:51 GMT
On Tuesday 13 November 2001 12:51 am, you wrote:
> Hi,
> I understand that Weblogic recently has a new feature
> for defining some classpath values in the Manifest
> file of the ejb Jar.
> Does anybody know whether Ant 1.4.1 or 5 alpha
> supports that? Because I tried to put the manifest
> attribute in the ejbjar task (which I think it is an
> undocumented feature because I had to go to the source
> code to find it). Ant doesn't complain about that, but
> it doesn't seem to do what I intended it to do as
> well.


It seems to work for me, I'm using:

$ ant -version
Ant version 1.4 compiled on September 3 2001

Here is my task (not fully optimized):

  <!-- build ejb jars -->
  <target name="ejbjar" depends="compile,jar" >
    <ejbjar srcdir="${build.classes}" 
      <classpath refid="build.classpath"/>
      <weblogic destdir="${build.deploy}" newCMP="true" compiler="default" 
	  <fileset dir="${home.lib}">
	    <include name="**/*.jar"/>
	    <include name="**/*.zip"/>
	  <fileset dir="${build.lib}">
	    <include name="**/*.jar"/>
	  <pathelement location="${weblogic.home}/lib/weblogic.jar"/> 
      <include name="**/*-ejb-jar.xml"/>
      <exclude name="**/*weblogic*.xml"/>
      <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
      <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"


> Any idea?
> Thanks in advance
> Herry
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Events Guide - Entertainment, community events and more!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message