ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien BLANC <Sebastien.Bl...@alcatel.com>
Subject Re: ejb-jar task?
Date Tue, 12 Nov 2002 21:00:18 GMT
I think that using jar task is the easiest combined with packageredirection:
generate all ur classes under interfaces or implementation, then ur clt jar or
deploy jar is very easy 2 compute.
sorry I did not catch ur question directly.
seb.

   <!-- ========================================= -->
   <!-- create JAR file                           -->
   <!-- ========================================= -->

   <target name="jar" depends="compile">

      <manifest file="${thispkg.dir}/META-INF/MANIFEST.MF" mode="update">
        <attribute name="classpath" value="global-jar-tl1-types.jar
global-jar-gem-types.jar ejb-jar-tl1-entity.jar ejb-jar-gem-Domain.jar"/>
     </manifest>

      <jar jarfile="${jar.path}"
manifest="${thispkg.dir}/META-INF/MANIFEST.MF">
         <!-- all classes and all META-INF (including the MANIFEST.MF that
contains the corba types) -->
  <fileset dir="${thispkg.dir}" includes="**/**"/>
      </jar>

   </target>

seb.


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