Author: rsearls
Date: 2015-01-07 16:10:50 -0500 (Wed, 07 Jan 2015)
New Revision: 19333
Added:
stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
Modified:
stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/pom.xml
Log:
set permissions on needed server bin scripts
Modified: stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/pom.xml
===================================================================
--- stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/pom.xml 2015-01-07 21:10:16
UTC (rev 19332)
+++ stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/pom.xml 2015-01-07 21:10:50
UTC (rev 19333)
@@ -123,6 +123,21 @@
</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>
<plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
Added:
stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy
(rev 0)
+++
stack/cxf/branches/arquillian/modules/testsuite/cxf-tests/src/test/scripts/jboss-home-bin-script-permissions.groovy 2015-01-07
21:10:50 UTC (rev 19333)
@@ -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