Author: rsearls
Date: 2015-01-07 16:10:16 -0500 (Wed, 07 Jan 2015)
New Revision: 19332
Added:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/pom.xml
Log:
set permissions on needed server bin scripts
Modified: stack/cxf/branches/arquillian/modules/testsuite/shared-tests/pom.xml
===================================================================
--- stack/cxf/branches/arquillian/modules/testsuite/shared-tests/pom.xml 2015-01-07
20:04:12 UTC (rev 19331)
+++ stack/cxf/branches/arquillian/modules/testsuite/shared-tests/pom.xml 2015-01-07
21:10:16 UTC (rev 19332)
@@ -89,6 +89,19 @@
</properties>
</configuration>
</execution>
+ <execution>
+ <id>jboss-home-bin-script-permissions</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+
<source>${basedir}/src/test/scripts/jboss-home-bin-script-permissions.groovy</source>
+ <properties>
+ <jbossHome>${jboss.home}</jbossHome>
+ </properties>
+ </configuration>
+ </execution>
</executions>
</plugin>
Added:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
(rev 0)
+++
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy 2015-01-07
21:10:16 UTC (rev 19332)
@@ -0,0 +1,18 @@
+
+/*
+ * Set execute permission on needed server scripts.
+ */
+ String[] scriptList = [ "wsconsume.bat",
+ "wsconsume.sh",
+ "wsprovide.bat",
+ "wsprovide.sh",
+ "appclient.bat",
+ "appclient.sh"
+ ]
+ for (n in scriptList) {
+ def cmd = "chmod +x " + project.properties['jbossHome'] +
"/bin/" + n
+ println cmd
+ cmd.execute()
+ def tmp = "touch /tmp/" + n
+ tmp.execute()
+ }
Show replies by date