harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r569317 - /harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml
Date Fri, 24 Aug 2007 09:41:03 GMT
Author: varlax
Date: Fri Aug 24 02:41:03 2007
New Revision: 569317

URL: http://svn.apache.org/viewvc?rev=569317&view=rev
Log:
organized better structure for uploading

Modified:
    harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml

Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml?rev=569317&r1=569316&r2=569317&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/make-snapshot/adaptor.xml Fri Aug 24
02:41:03 2007
@@ -41,7 +41,14 @@
     </target>
 
     <target name="upload" if="do.upload">
-        <copy todir="${make-snapshot.parameters.optional.upload.dir}">
+        <property file="${trunk.dir}/release.properties" prefix="upload"/>
+        <condition property="upload.dir" value="${make-snapshot.parameters.optional.upload.dir}/r${upload.svn.revision}"

+            else="${make-snapshot.parameters.optional.upload.dir}">
+            <isset property="upload.svn.revision"/>
+        </condition>
+        <mkdir dir="${upload.dir}"/>
+        <chmod file="${target.dir}" perm="ugo+rw"/>
+        <copy todir="${upload.dir}">
             <fileset dir="${target.dir}" includes="*">
                 <type type="file"/>
             </fileset>



Mime
View raw message