CVS: jcontainer/loom/demos/distributed/server maven.xml,1.5,1.6
mauro-yCVjj/[email protected] Tue, 4 Nov 2003 06:45:14 -0600
| Newsgroups | gmane.comp.java.jcontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jcontainer/jcontainer/loom/demos/distributed/server
In directory hogshead.codehaus.org:/tmp/cvs-serv18642/loom/demos/distributed/server
Modified Files:
maven.xml
Log Message:
Copied built sars in apps directory using a fileset from maven.build.dir.
maven.sar.build.dir is defined in the plugin and is not available to the
project unless explicitly overridden/set in the project.properties
Index: maven.xml
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/loom/demos/distributed/server/maven.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- maven.xml 18 Oct 2003 07:04:14 -0000 1.5
+++ maven.xml 4 Nov 2003 12:45:12 -0000 1.6
@@ -8,9 +8,12 @@
<goal name="build">
<attainGoal name="jar:jar"/>
<attainGoal name="sar:sar"/>
- <ant:copy file="target/${maven.sar.final.name}"
- todir="${basedir}/../../../distribution/deploy/apps"
- overwrite="true"/>
+ <ant:copy todir="${basedir}/../../../distribution/deploy/apps"
+ overwrite="true">
+ <ant:fileset dir="${maven.build.dir}">
+ <ant:include name="*.sar"/>
+ </ant:fileset>
+ </ant:copy>
</goal>
<goal name="deploy">