You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/01/30 08:55:17 UTC

svn commit: r1780884 - /axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml

Author: veithen
Date: Mon Jan 30 08:55:17 2017
New Revision: 1780884

URL: http://svn.apache.org/viewvc?rev=1780884&view=rev
Log:
Support samples with multiple policy files.

Modified:
    axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml

Modified: axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml?rev=1780884&r1=1780883&r2=1780884&view=diff
==============================================================================
--- axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml (original)
+++ axis/axis2/java/rampart/branches/RAMPART-339/modules/rampart-samples/policy/build.xml Mon Jan 30 08:55:17 2017
@@ -304,7 +304,10 @@
 
 	   		<copy file="${keys.dir}/client.jks" tofile="${temp.client.dir}/client.jks" overwrite="true"/>
 	   		<copy file="${keys.dir}/client.properties" tofile="${temp.client.dir}/client.properties" overwrite="true"/>
-            <copy file="sample@{sample.number}/policy.xml" tofile="${temp.client.dir}/policy.xml" overwrite="true">
+            <copy todir="${temp.client.dir}" overwrite="true">
+                <fileset dir="sample@{sample.number}">
+                    <include name="*policy*.xml"/>
+                </fileset>
                 <filterset>
                     <filter token="port" value="${client.port}"/>
                 </filterset>