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] ejb-jar/jonas element again
Date Wed, 26 Dec 2001 10:48:00 GMT
Hello again !

I sended my patch two times : a few weeks ago and a few days ago.

I will send my files until they will be commited or a someone gives a good 
reason to not do it !

There is a JBoss version of the DeploymentTool and Ant must have a JOnAS 
version !


Thank you.

-----------------------------------------------------------

Date: Mon, 24 Dec 2001 15:54:08 +0100
To: ant-dev@jakarta.apache.org
From: Cyrille Morvan <cyrille_list@ingenosya.com>
Subject: [PATCH] [SUBMIT] ejb-jar/jonas element for ANT
Cc: jonas-users@objectweb.org


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