geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsis...@apache.org
Subject svn commit: r355811 - /geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly
Date Sat, 10 Dec 2005 23:55:12 GMT
Author: jsisson
Date: Sat Dec 10 15:55:03 2005
New Revision: 355811

URL: http://svn.apache.org/viewcvs?rev=355811&view=rev
Log:
GERONIMO-1325 explicitly set execute permissions on *.sh files in tar.gz distributions so
builds on windows work the same as UNIX.

Modified:
    geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly

Modified: geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly?rev=355811&r1=355810&r2=355811&view=diff
==============================================================================
--- geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly (original)
+++ geronimo/trunk/plugins/geronimo-assembly-plugin/plugin.jelly Sat Dec 10 15:55:03 2005
@@ -234,12 +234,18 @@
     </goal>
 
     <goal name="assemble:package-assembly" prereqs="assemble:assemble" description="Build
the binary distribution.">
-        <!-- Create a tar.gz file -->
+        <!-- Create a tar.gz file 
+             Explicitly set execute permission on script files so builds on windows are consistent
with unix -->
+
         <j:if test="${context.getVariable('geronimo.assembly.tar') == 'true'}">
             <ant:tar longfile="gnu" compression="gzip" tarfile="${maven.build.dir}/${maven.final.name}.tar.gz">
                 <ant:tarfileset dir="${geronimo.assembly.dest}/..">
                     <ant:include name="${geronimo.assembly.name}/**"/>
                     <ant:exclude name="${geronimo.assembly.name}/var/log/*.log"/>
+                    <ant:exclude name="${geronimo.assembly.name}/bin/*.sh"/>
+                </ant:tarfileset>
+                <ant:tarfileset dir="${geronimo.assembly.dest}/.." mode="755">
+                    <ant:include name="${geronimo.assembly.name}/bin/*.sh"/>
                 </ant:tarfileset>
             </ant:tar>
             <checksum file="${maven.build.dir}/${maven.final.name}.tar.gz" algorithm="MD5"
fileext=".md5"/>



Mime
View raw message