ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyrille Morvan <cyrille_l...@ingenosya.com>
Subject [PATCH] [SUBMIT] ejb-jar/jonas element for ANT
Date Mon, 24 Dec 2001 14:54:08 GMT
Hello,

Enclosed a new version of my add-on to deploy Enterprise Java Bean in JOnAS 
from ANT.
JOnAS is the Java Open Application Server, it's a good opensource EJB 
container from ObjectWeb.
Find it on http://www.objectweb.org/jonas/

There are 2 patches and a new file :

-- EjbJar.java.patch prodives a new method to the task ejb-jar
jakarta-ant\src\main\org\apache\tools\ant\taskdefs\optional\ejb\EjbJar.java

-- ejb.html.patch provides a new paragraph, how to use the new jonas 
element as the WebLogic, IPlanet or the JBoss elements.
jakarta-ant/docs/manual/OptionalTasks/ejb.html

-- JonasDeploymentTool.java is a new file to commit into
jakarta-ant\src\main\org\apache\tools\ant\taskdefs\optional\ejb\JonasDeploymentTool.java 



Examples :

<ejbjar srcdir="${build.classes}"
               descriptordir="${descriptor.dir}">
    <jonas destdir="${deploymentjars.dir}"
              jonasroot="${jonas.root}"
              orb="RMI" />
    <include name="**/*.xml"/>
    <exclude name="**/jonas-*.xml"/>
</ejbjar>


<ejbjar srcdir="${build.classes}"
             descriptordir="${descriptor.dir}"
             basejarname="TheEJBJar">
     <jonas destdir="${deploymentjars.dir}" jonasroot="${jonas.root}"
                 suffix=".jar" orb="JEREMIE"
                 classpath="${descriptorbuild.classpath}" />
     <include name="**/ejb-jar.xml"/>
     <exclude name="**/jonas-ejb-jar.xml"/>
</ejbjar>



I will be very _happy_, if the Apache Ant team could commit my work before 
Ant 1.5 !
Thank you !

Merry xmas to the Apache Ant Dev Team and Jonas users list.

--
Cyrille Morvan
IT Engineering student - FiiFo - University Paris-Sud
Mime
View raw message