: Sigh... it looks the the tar task in ant does not preserve file permissions.
: It looks like the mode 755 needs to be set explicitly in the task.
:
: Should we do a respin with just that change and continue the vote?

Since there's no way to preserve the executable bits in the .zip
anyway, i don't think not having them set in the .tgz is a show stopper.

The patch below solves the problem, i've commited to the trunk.

Index: build.xml
===================================================================
--- build.xml   (revision 488047)
+++ build.xml   (working copy)
@@ -412,9 +412,13 @@
       <tarfileset dir="."
         prefix="${fullnamever}"
         includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/**"
-        excludes="**/data/ **/logs/ **/classes/" />
+        excludes="**/data/ **/logs/ **/classes/ **/*.sh **/bin/ src/scripts/" 
/>
       <tarfileset dir="."
+        mode="755"
         prefix="${fullnamever}"
+        includes="**/*.sh **/bin/ src/scripts/" />
+      <tarfileset dir="."
+        prefix="${fullnamever}"
         includes="dist/*.jar dist/*.war" />
       <tarfileset dir="${build.docs}"
         prefix="${fullnamever}/docs/" />


Reply via email to