Author: rsearls
Date: 2015-01-27 16:31:24 -0500 (Tue, 27 Jan 2015)
New Revision: 19432
Modified:
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/pom.xml
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/scripts/jbws_testsuite_spring_default.groovy
Log:
Copy pre-configured application-roles.properties and application-users.properties file
into standalone/configure directory
Modified: stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/pom.xml
===================================================================
--- stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/pom.xml 2015-01-27
10:06:13 UTC (rev 19431)
+++ stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/pom.xml 2015-01-27
21:31:24 UTC (rev 19432)
@@ -93,6 +93,11 @@
<rolesPropFile>${project.build.directory}/test-classes/jbossws-roles.properties</rolesPropFile>
<keystorePath>${project.build.directory}/test-classes/test.keystore</keystorePath>
<testResourcesDir>${project.build.directory}/test-resources</testResourcesDir>
+
+
<srcUsersProperties>${project.parent.parent.basedir}/etc/application-users.properties</srcUsersProperties>
+
<destUsersProperties>${jboss.home}/standalone/configuration/application-users.properties</destUsersProperties>
+
<srcRolesProperties>${project.parent.parent.basedir}/etc/application-roles.properties</srcRolesProperties>
+
<destRolesProperties>${jboss.home}/standalone/configuration/application-roles.properties</destRolesProperties>
</properties>
</configuration>
</execution>
Modified:
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/scripts/jbws_testsuite_spring_default.groovy
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/scripts/jbws_testsuite_spring_default.groovy 2015-01-27
10:06:13 UTC (rev 19431)
+++
stack/cxf/branches/arquillian/modules/testsuite/cxf-spring-tests/src/test/scripts/jbws_testsuite_spring_default.groovy 2015-01-27
21:31:24 UTC (rev 19432)
@@ -121,3 +121,17 @@
new XmlNodePrinter(new PrintWriter(writer)).print(root)
def f = new File(project.properties['outputFile'])
f.write(writer.toString())
+
+/*
+ * copy the preconfigured application-roles.properties and application-users.properties
+ * files into the standalone/configure directory
+ */
+def srcUsersProperties = project.properties['srcUsersProperties']
+def destUsersProperties = project.properties['destUsersProperties']
+new AntBuilder().copy( file:srcUsersProperties,
+ tofile:destUsersProperties)
+
+def srcRolesProperties = project.properties['srcRolesProperties']
+def destRolesProperties = project.properties['destRolesProperties']
+new AntBuilder().copy( file:srcRolesProperties,
+ tofile:destRolesProperties)
\ No newline at end of file
Show replies by date