You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/03/14 03:35:31 UTC

svn commit: r753591 - in /cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest: wstrust10/ wstrust13/ wstrust13/src/main/java/interop/client/

Author: dkulp
Date: Sat Mar 14 02:35:29 2009
New Revision: 753591

URL: http://svn.apache.org/viewvc?rev=753591&view=rev
Log:
Command line for trust clients.
Remove server profiles since the trust servers don't work yet.

Added:
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/download_wsdl.xml
      - copied unchanged from r753480, cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/build.xml
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/download_wsdl.xml
      - copied unchanged from r753480, cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/build.xml
Removed:
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/build.xml
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/build.xml
Modified:
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml
    cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java

Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml?rev=753591&r1=753590&r2=753591&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml Sat Mar 14 02:35:29 2009
@@ -65,7 +65,7 @@
                         </goals>
                         <configuration>
                             <tasks>
-                                <ant inheritRefs="true" antfile="${basedir}/build.xml">
+                                <ant inheritRefs="true" antfile="${basedir}/download_wsdl.xml">
                                     <property value="${basedir}/target" name="build.dir" />
                                     <property name="wsdl.host" value="${wsdl.host}"/>
                                     <property name="target.host" value="${target.host}"/>
@@ -117,29 +117,7 @@
         </plugins>
     </build>
     <profiles>
-        <profile>
-            <id>server</id>
-            <build>
-                <defaultGoal>test</defaultGoal>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>demo.hw.server.Server</mainClass>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
+
         <profile>
             <id>client</id>
             <build>

Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml?rev=753591&r1=753590&r2=753591&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml Sat Mar 14 02:35:29 2009
@@ -24,7 +24,7 @@
     <version>1.0</version>
     <properties>
         <cxf.version>[2,)</cxf.version>
-        <test.method>A</test.method>
+        <test.method>ALL</test.method>
     </properties>
     <build>
         <resources>
@@ -62,7 +62,7 @@
                         </goals>
                         <configuration>
                             <tasks>
-                                <ant inheritRefs="true" antfile="${basedir}/build.xml">
+                                <ant inheritRefs="true" antfile="${basedir}/download_wsdl.xml">
                                     <property value="${basedir}/target" name="build.dir" />
                                     <target name="download" />
                                 </ant>
@@ -110,29 +110,6 @@
     </build>
     <profiles>
         <profile>
-            <id>server</id>
-            <build>
-                <defaultGoal>test</defaultGoal>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <phase>test</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>demo.hw.server.Server</mainClass>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
             <id>client</id>
             <build>
                 <defaultGoal>test</defaultGoal>

Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java?rev=753591&r1=753590&r2=753591&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java (original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java Sat Mar 14 02:35:29 2009
@@ -46,7 +46,7 @@
     public static void main(String argv[])
         throws Exception {
         
-        if (argv.length < 1) {
+        if (argv.length < 1 || "ALL".equalsIgnoreCase(argv[0])) {
             argv = new String[] {
                 "CustomBinding_IPingServiceContract",
                 "OasisScenario2Binding_IPingServiceContract",