Revision: 6564
Author: [email protected]
Date: Fri Oct 30 12:00:05 2009
Log: Fixes script permissions, see  
http://gwt-code-reviews.appspot.com/89805.

Review by: scottb
Issue: 4718

http://code.google.com/p/google-web-toolkit/source/detail?r=6564

Modified:
  /trunk/distro-source/build.xml

=======================================
--- /trunk/distro-source/build.xml      Fri Oct 16 07:16:57 2009
+++ /trunk/distro-source/build.xml      Fri Oct 30 12:00:05 2009
@@ -31,7 +31,7 @@

        <!-- raw files -->
        <zipfileset dir="${dist.resources}" prefix="${project.distname}" />
-      <zipfileset dir="src" prefix="${project.distname}" />
+      <zipfileset filemode="755" dir="src" prefix="${project.distname}" />

        <!-- doc -->
        <zipfileset dir="${gwt.build.out}" prefix="${project.distname}">
@@ -58,5 +58,12 @@
      -->
      <mkdir dir="${gwt.build.staging}" />
      <unzip src="${project.dist}" dest="${gwt.build.staging}" />
+    <!-- cute.  zipinfo says the zip has good perms, unzip gets it right,  
but
+         ant <unzip> leaves the perms as non-executable... go figure. -->
+    <chmod perm="uga+rx">
+      <fileset dir="${gwt.build.staging}/gwt-${gwt.version}">
+        <patternset refid="chmod.executables"/>
+      </fileset>
+    </chmod>
    </target>
  </project>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to