AMQ-4088: Unix kit examples should have execute permission on scripts by default.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392810 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Claus Ibsen 2012-10-02 09:33:04 +00:00
parent 2daf9f16e9
commit b437c2c52b
5 changed files with 17 additions and 21 deletions

View File

@ -16,21 +16,8 @@
limitations under the License. limitations under the License.
--> -->
<component> <component>
<!--<id>common-bin</id>-->
<fileSets> <fileSets>
<!-- Copy over files that should not get the line endings converted -->
<fileSet>
<directory>src/release</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>bin/*.jar</include>
<include>conf/*.ts</include>
<include>conf/*.ks</include>
<include>conf/*.cert</include>
<include>webapps/*.ico</include>
</includes>
</fileSet>
<!-- Copy over all sample configurations --> <!-- Copy over all sample configurations -->
<fileSet> <fileSet>

View File

@ -16,10 +16,12 @@
limitations under the License. limitations under the License.
--> -->
<assembly> <assembly>
<id>bin</id> <id>bin</id>
<formats> <formats>
<format>tar.gz</format> <format>tar.gz</format>
</formats> </formats>
<fileSets> <fileSets>
<!-- Copy over everything that needs to get unix line endings --> <!-- Copy over everything that needs to get unix line endings -->
@ -31,7 +33,9 @@
<exclude>conf/*.ts</exclude> <exclude>conf/*.ts</exclude>
<exclude>conf/*.ks</exclude> <exclude>conf/*.ks</exclude>
<exclude>conf/*.cert</exclude> <exclude>conf/*.cert</exclude>
</excludes> <exclude>example/**/*.sh</exclude>
<exclude>example/**/*.rb</exclude>
</excludes>
<fileMode>0644</fileMode> <fileMode>0644</fileMode>
<directoryMode>0755</directoryMode> <directoryMode>0755</directoryMode>
<lineEnding>unix</lineEnding> <lineEnding>unix</lineEnding>
@ -51,7 +55,7 @@
<!-- Copy over the files that should not get the line endings converted but need to be chmod to 755 --> <!-- Copy over the files that should not get the line endings converted but need to be chmod to 755 -->
<fileSet> <fileSet>
<directory>src/release</directory> <directory>src/release</directory>
<outputDirectory></outputDirectory> <outputDirectory>/</outputDirectory>
<includes> <includes>
<include>bin/linux-*/wrapper</include> <include>bin/linux-*/wrapper</include>
<include>bin/linux-*/libwrapper.so</include> <include>bin/linux-*/libwrapper.so</include>
@ -65,7 +69,7 @@
<!-- Copy over the files that need unix line endings and also chmod to 755 --> <!-- Copy over the files that need unix line endings and also chmod to 755 -->
<fileSet> <fileSet>
<directory>src/release</directory> <directory>src/release</directory>
<outputDirectory></outputDirectory> <outputDirectory>/</outputDirectory>
<includes> <includes>
<include>bin/activemq</include> <include>bin/activemq</include>
<include>bin/diag</include> <include>bin/diag</include>

View File

@ -16,10 +16,12 @@
limitations under the License. limitations under the License.
--> -->
<assembly> <assembly>
<id>src</id> <id>src</id>
<formats> <formats>
<format>tar.gz</format> <format>tar.gz</format>
</formats> </formats>
<fileSets> <fileSets>
<!-- Binary Files --> <!-- Binary Files -->
<fileSet> <fileSet>
@ -78,8 +80,6 @@
<exclude>assembly/src/release/bin/*/wrapper</exclude> <exclude>assembly/src/release/bin/*/wrapper</exclude>
<exclude>**/target/**</exclude> <exclude>**/target/**</exclude>
<exclude>**/build/**</exclude> <exclude>**/build/**</exclude>
<!-- exclude>data/**</exclude>
<exclude>*/data/**</exclude -->
<exclude>activemq-data/**</exclude> <exclude>activemq-data/**</exclude>
<exclude>*/activemq-data/**</exclude> <exclude>*/activemq-data/**</exclude>
<exclude>**/eclipse-classes/**</exclude> <exclude>**/eclipse-classes/**</exclude>
@ -100,5 +100,7 @@
<directoryMode>0755</directoryMode> <directoryMode>0755</directoryMode>
<lineEnding>unix</lineEnding> <lineEnding>unix</lineEnding>
</fileSet> </fileSet>
</fileSets> </fileSets>
</assembly> </assembly>

View File

@ -20,6 +20,7 @@
<formats> <formats>
<format>zip</format> <format>zip</format>
</formats> </formats>
<fileSets> <fileSets>
<!-- Copy over everything that needs to get dos line endings --> <!-- Copy over everything that needs to get dos line endings -->
@ -61,7 +62,7 @@
<!-- Copy over files that should not get the line endings converted --> <!-- Copy over files that should not get the line endings converted -->
<fileSet> <fileSet>
<directory>src/release</directory> <directory>src/release</directory>
<outputDirectory></outputDirectory> <outputDirectory>/</outputDirectory>
<includes> <includes>
<include>bin/win32/*.exe</include> <include>bin/win32/*.exe</include>
<include>bin/win32/*.dll</include> <include>bin/win32/*.dll</include>

View File

@ -16,10 +16,12 @@
limitations under the License. limitations under the License.
--> -->
<assembly> <assembly>
<id>src</id> <id>src</id>
<formats> <formats>
<format>zip</format> <format>zip</format>
</formats> </formats>
<fileSets> <fileSets>
<!-- Binary Files --> <!-- Binary Files -->
<fileSet> <fileSet>
@ -77,8 +79,6 @@
<exclude>**/target/**</exclude> <exclude>**/target/**</exclude>
<exclude>**/build/**</exclude> <exclude>**/build/**</exclude>
<!-- exclude>data/**</exclude>
<exclude>*/data/**</exclude -->
<exclude>activemq-data/**</exclude> <exclude>activemq-data/**</exclude>
<exclude>*/activemq-data/**</exclude> <exclude>*/activemq-data/**</exclude>
<exclude>**/eclipse-classes/**</exclude> <exclude>**/eclipse-classes/**</exclude>
@ -97,5 +97,7 @@
</excludes> </excludes>
<lineEnding>dos</lineEnding> <lineEnding>dos</lineEnding>
</fileSet> </fileSet>
</fileSets> </fileSets>
</assembly> </assembly>