antlets/enterpriseapp/src xbuild.xml,NONE,1.1
Michael Homeijer <[email protected]> Tue, 16 Mar 2004 10:01:03 +0000
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/antlets/enterpriseapp/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17957/enterpriseapp/src
Added Files:
xbuild.xml
Log Message:
Added antlet to create enterprise archives (ear)
--- NEW FILE: xbuild.xml ---
<?xml version="1.0"?>
<project default="ear" name="enterpriseapp.antlet">
<description>
Creates an enterprise archive (ear) based on the jars and wars in the subprojects.
</description>
<import file="usage.xml"/>
<!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Sets the properties for this antlet
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
<dirname property="enterpriseapp.antlet.dir" file="${ant.file.enterpriseapp.antlet}"/>
<target name="ear" description="builds ear-archive of build-products">
<!-- Read the properties from properties.xml -->
<xmlproperty file="${enterpriseapp.antlet.dir}/conf/properties.xml"
keeproot="false"
collapseAttributes="true"
semanticAttributes="true"
includeSemanticAttribute="true" />
<!-- Build the ear, using Ant task -->
<ear destfile="${project.build.dir}/${project.name}-${project.version}.ear"
appxml="${enterpriseapp.appxml}"
compress="${enterpriseapp.compress}"
update="${enterpriseapp.update}"
duplicate="${enterpriseapp.duplicate}">
<!-- The ear contains all deliverables (of type jar and war) from the subprojects.
This should be more flexible in the future. -->
<fileset dir="${build.dir}" includes="*/*.jar,*/*.war"/>
</ear>
</target>
</project>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click