[Yanel-commits] rev 39990 - public/yanel/trunk/src/build/targets

michi at wyona.com michi at wyona.com
Mon Nov 17 14:42:41 CET 2008


Author: michi
Date: 2008-11-17 14:42:41 +0100 (Mon, 17 Nov 2008)
New Revision: 39990

Modified:
   public/yanel/trunk/src/build/targets/build-binary-snapshot.xml
Log:
move tmp folder outside

Modified: public/yanel/trunk/src/build/targets/build-binary-snapshot.xml
===================================================================
--- public/yanel/trunk/src/build/targets/build-binary-snapshot.xml	2008-11-17 13:14:35 UTC (rev 39989)
+++ public/yanel/trunk/src/build/targets/build-binary-snapshot.xml	2008-11-17 13:42:41 UTC (rev 39990)
@@ -2,10 +2,10 @@
 
 <project name="build-binary-snapshot" default="bin-snapshot" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
   
-  <target name="bin-snapshot" description="Create a binary snapshot" depends="init">
 <!--
-  <target name="bin-snapshot" description="Create a binary snapshot" depends="init, webapp">
+  <target name="bin-snapshot" description="Create a binary snapshot" depends="init">
 -->
+  <target name="bin-snapshot" description="Create a binary snapshot" depends="init, webapp">
     <fail message="No revision specified! Please configure property 'yanel.revision' within 'src/build/local.build.properties'.">
       <condition>
         <equals arg1="${yanel.revision}" arg2="REVISION"/>
@@ -30,25 +30,22 @@
 
     <antcall target="prepare-tomcat"/>
 
-    <property name="tmp.dir" value="${snapshot.dir}/tmp"/>
+    <tstamp>
+      <format property="TIMESTAMP" pattern="yyyyMMddhhmmss"/>
+    </tstamp>
+    <property name="tmp.dir" value="${build.dir}/bin-snapshots/tmp-${TIMESTAMP}"/>
     <mkdir dir="${tmp.dir}"/>
 
     <antcall target="copy-realms-resources"/>
 
     <!-- Windows specific snapshot -->
-<!--
     <antcall target="bin-snapshot-win"/>
--->
 
     <!-- UNIX specific snapshot -->
-<!--
     <antcall target="bin-snapshot-unix"/>
--->
     <!--<delete dir="${snapshot.dir}"/>-->
 
-<!--
     <delete dir="${tmp.dir}"/>
--->
   </target>
 
   <target name="prepare-tomcat">



More information about the Yanel-commits mailing list