Hi Gents,
ear - cleanly package an ear file (application server independent so far).
war - iPlanet Application Server 6.0 war task to gracefully include iAS
addition XML descriptor (ias-web.xml). This task should spur an abstraction
for the war task to cleanly encapsulate each application server specific web
descriptor.
NOTE: I will not be submitting an ejbjar task, Please see Greg Nelson for
this. [EMAIL PROTECTED] I believe it would make sense for that task to be
packaged in the j2eemodule package too.
Cheers,
Martin
Configuration of tasks (defaults.properties)
**************************************************
ear=org.apache.tools.ant.taskdefs.optional.j2eemodule.Ear
iplanet-war=org.apache.tools.ant.taskdefs.optional.j2eemodule.War
Submitted files
**************************************************
iPlanetModule_war_ear.htm (Good docos)
org.apache.tools.ant.taskdefs.optional.j2eemodule.Ear.java
org.apache.tools.ant.taskdefs.optional.j2eemodule.War.java
Title: ias_war
ias_war
Description
Extention of the standard ANT war task. This task implicitly
looks forthe
iAS specific web descriptor ias-web.xml. Please see the (ANT)documentation
for detailed description of the war task.
Parameters
|
|
|
Attribute
|
Description
|
Required
|
|
warfile
|
The name of the war file
|
Yes
|
|
webxml
|
The location of the web desrciptor
|
Yes
|
Elements
|
|
|
Element
|
Description
|
Required
|
|
include
|
Please see ANT docs for the war task.
|
No
|
|
fileset
|
Please see ANT docs for the war task
|
No
|
|
lib
|
Please see ANT docs for the war task
|
No
|
|
webinf
|
Please see ANT docs for the war task
|
No
|
Example
<ias_war warfile="${builddir}/sample.war" webxml="WEB-INF/web.xml"> <classes dir="${classesdir}"> <include name="${controller}/**" /> </classes> <fileset dir="${src}"> <include name="${view}/*.jsp"/> <include name="${controller}/*.xml"/> </fileset> </ias_war>
ear
Description
Extension of the ANT jar task. See ANT task for
details
Parameters
|
|
|
Attribute
|
Description
|
Required
|
|
earfile
|
The name and location of the ear file to becreated
|
Yes
|
|
appxml
|
The location of the ear deployment descriptor.
|
Yes
|
Elements
|
|
|
Element
|
Description
|
Required
|
|
include
|
Please see ANT docs for filesets and jar task
|
N
|
No
|
|
fileset
|
Please see ANT docs for filesets and jar task
|
No
|
|
Example
<ear earfile="${builddir}/sample.ear" appxml="META-INF/application.xml"> <fileset dir="${builddir}" > <include name="sampleEJB.jar" /> <include name="sample.war" /> </fileset> </ear>
|
<<attachment: j2eemodule.zip>>