harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r634407 - /harmony/enhanced/trunk/build.xml
Date Thu, 06 Mar 2008 20:35:12 GMT
Author: hindessm
Date: Thu Mar  6 12:35:11 2008
New Revision: 634407

URL: http://svn.apache.org/viewvc?rev=634407&view=rev
Log:
Preserve permissions of debian/rules file when creating source bundles.

Modified:
    harmony/enhanced/trunk/build.xml

Modified: harmony/enhanced/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/trunk/build.xml?rev=634407&r1=634406&r2=634407&view=diff
==============================================================================
--- harmony/enhanced/trunk/build.xml (original)
+++ harmony/enhanced/trunk/build.xml Thu Mar  6 12:35:11 2008
@@ -771,8 +771,12 @@
 
         <tar tarfile="${target.dir}/${deploy.src.tar}" compression="gzip"
              longfile="gnu" >
+            <tarfileset dir="${target.dir}/src" prefix="apache-harmony-src-r${harmony.version}"
mode="755">
+                <include name="debian/rules"/>
+            </tarfileset>
             <tarfileset dir="${target.dir}/src" prefix="apache-harmony-src-r${harmony.version}">
                 <include name="**"/>
+                <exclude name="debian/rules"/>
             </tarfileset>
         </tar>
 
@@ -783,8 +787,12 @@
 
     <target name="bundle-src-zip" depends="init" unless="is.unix">
         <zip destfile="${target.dir}/${deploy.src.zip}">
+            <zipfileset dir="${target.dir}/src" prefix="apache-harmony-src-r${harmony.version}"
filemode="755">
+                <include name="debian/rules"/>
+            </zipfileset>
             <zipfileset dir="${target.dir}/src" prefix="apache-harmony-src-r${harmony.version}">
                 <include name="**"/>
+                <exclude name="debian/rules"/>
             </zipfileset>
         </zip>
         <chksum dir="${target.dir}" file="${deploy.src.zip}" />
@@ -807,6 +815,7 @@
 harmony.long.version=${harmony.long.version}
 harmony.deploy.suffix=${harmony.deploy.suffix}
         </echo>
+        <chmod file="${target.dir}/src/debian/rules" perm="ugo+x" />
     </target>
 
     <!-- ================================================================================
-->



Mime
View raw message