quintonm 2003/03/25 12:47:39
Modified: . maven.xml
Log:
Fixed typo in comments
Revision Changes Path
1.10 +15 -7 jakarta-turbine-2/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/maven.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- maven.xml 2 Mar 2003 14:32:40 -0000 1.9
+++ maven.xml 25 Mar 2003 20:47:39 -0000 1.10
@@ -113,7 +113,7 @@
</goal>
<!-- ================================================== -->
- <!-- Deploy the nightly build process -->
+ <!-- Deploy the nightly builds -->
<!-- ================================================== -->
<goal name="nightly:deploy"
prereqs="nightly:build"
@@ -126,18 +126,26 @@
deploymentDirectory = ${turbine.nightly.dist.dir}
</echo>
- <j:set var="dist.dir"
-
value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.dir')}"/>
+ <j:set var="dist.dir" value="${maven.build.dir}/distributions" />
<!-- Make sure the destination directory exists before trying to copy -->
<exec dir="." executable="${maven.ssh.executable}">
<arg line="${pom.siteAddress} -l ${maven.username} 'mkdir -p
${turbine.nightly.dist.dir}'"/>
</exec>
- <exec dir="${dist.dir}" executable="${maven.scp.executable}">
- <arg value="*"/>
- <arg value="[EMAIL PROTECTED]:${turbine.nightly.dist.dir}"/>
- </exec>
+ <fileScanner var="distFiles">
+ <fileset dir="${dist.dir}">
+ </fileset>
+ </fileScanner>
+
+ <j:forEach var="file" items="${distFiles.iterator()}">
+ <echo>Processing ${file}</echo>
+
+ <exec dir="${dist.dir}" executable="${maven.scp.executable}">
+ <arg value="${file}"/>
+ <arg value="[EMAIL PROTECTED]:${turbine.nightly.dist.dir}"/>
+ </exec>
+ </j:forEach>
</goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]