Change script to satisfy nightly build process

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@153620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2005-02-13 11:28:49 +00:00
parent dd68558fcd
commit dc1d0beaa0
1 changed files with 17 additions and 4 deletions

View File

@ -69,6 +69,7 @@
<property name="build.src.tar.name" value="${build.dist}/${component.name}-${component.version}-src.tar"/> <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.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="build.src.zip.name" value="${build.dist}/${component.name}-${component.version}-src.zip"/>
<property name="dist.home" value="dist"/> <!-- for nightly builds -->
<!-- ========== Settings ================================================== --> <!-- ========== 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"> description="Create distribution folders">
<delete dir="${dist.home}"/>
<mkdir dir="${dist.home}" />
<copy todir="${dist.home}">
<fileset dir="${build.dist.bin}" />
</copy>
</target> </target>
<target name="dist.create" depends="jar,testjar,javadoc,tf.validate,tf.jar,dist.bin,dist.src">
</target>
<target name="dist.bin"> <target name="dist.bin">
<mkdir dir="${build.dist.bin.work}"/> <mkdir dir="${build.dist.bin.work}"/>
<copy todir="${build.dist.bin.work}"> <copy todir="${build.dist.bin.work}">
@ -545,8 +555,11 @@
<!-- ====================================================================== --> <!-- ====================================================================== -->
<target name="zip" depends="zip.bin,zip.src" <target name="release" depends="dist.create,zip"
description="Create zipped distribution"> description="Create release">
</target>
<target name="zip" depends="zip.bin,zip.src">
</target> </target>
<target name="zip.bin"> <target name="zip.bin">