Author: scolebourne
Date: Sun Feb 13 03:28:49 2005
New Revision: 153620

URL: http://svn.apache.org/viewcvs?view=rev&rev=153620
Log:
Change script to satisfy nightly build process

Modified:
    jakarta/commons/proper/collections/trunk/build.xml

Modified: jakarta/commons/proper/collections/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/build.xml?view=diff&r1=153619&r2=153620
==============================================================================
--- jakarta/commons/proper/collections/trunk/build.xml (original)
+++ jakarta/commons/proper/collections/trunk/build.xml Sun Feb 13 03:28:49 2005
@@ -69,6 +69,7 @@
   <property name="build.src.tar.name"   
value="${build.dist}/${component.name}-${component.version}-src.tar"/>
   <property name="build.src.gz.name"    
value="${build.dist}/${component.name}-${component.version}-src.tar.gz"/>
   <property name="build.src.zip.name"   
value="${build.dist}/${component.name}-${component.version}-src.zip"/>
+  <property name="dist.home"            value="dist"/> <!-- for nightly builds 
-->
 
 
 <!-- ========== Settings ================================================== -->
@@ -489,10 +490,19 @@
    
 <!-- ====================================================================== -->
 
-  <target name="dist" 
depends="jar,testjar,javadoc,tf.validate,tf.jar,dist.bin,dist.src"
+  <!-- Target needed for nightly builds -->
+  <target name="dist" depends="dist.create"
           description="Create distribution folders">
+    <delete dir="${dist.home}"/>
+    <mkdir dir="${dist.home}" />
+    <copy todir="${dist.home}">
+      <fileset dir="${build.dist.bin}" />
+       </copy>
   </target>
-  
+
+  <target name="dist.create" 
depends="jar,testjar,javadoc,tf.validate,tf.jar,dist.bin,dist.src">
+  </target>
+
   <target name="dist.bin">
     <mkdir      dir="${build.dist.bin.work}"/>
     <copy     todir="${build.dist.bin.work}">
@@ -545,8 +555,11 @@
 
 <!-- ====================================================================== -->
 
-  <target name="zip" depends="zip.bin,zip.src"
-          description="Create zipped distribution">
+  <target name="release" depends="dist.create,zip"
+          description="Create release">
+  </target>
+
+  <target name="zip" depends="zip.bin,zip.src">
   </target>
   
   <target name="zip.bin">



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to