You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by tw...@apache.org on 2008/04/24 15:41:37 UTC

svn commit: r651267 - /incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml

Author: twgoetz
Date: Thu Apr 24 06:41:33 2008
New Revision: 651267

URL: http://svn.apache.org/viewvc?rev=651267&view=rev
Log:
Jira UIMA-1012: make .sh/.bat files in source distribution executable.

https://issues.apache.org/jira/browse/UIMA-1012

Modified:
    incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml

Modified: incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml?rev=651267&r1=651266&r2=651267&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml (original)
+++ incubator/uima/uimaj/trunk/uimaj-distr/src/main/assembly/src.xml Thu Apr 24 06:41:33 2008
@@ -43,8 +43,23 @@
 		  <exclude>README</exclude>
       </excludes>
     </fileSet>
+    <!-- Copy .bat/.sh files as executable -->
     <fileSet>
+      <fileMode>755</fileMode>
       <directory>src/main/readme_src</directory>
+      <includes>
+        <include>*.bat</include>
+        <include>*.sh</include>
+      </includes>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <!-- Copy everything else as non-executable -->
+    <fileSet>
+      <directory>src/main/readme_src</directory>
+      <excludes>
+        <exclude>*.bat</exclude>
+        <exclude>*.sh</exclude>
+      </excludes>
       <outputDirectory>/</outputDirectory>
     </fileSet>
     <fileSet>