Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10E538DBA for ; Tue, 6 Sep 2011 01:36:36 +0000 (UTC) Received: (qmail 83821 invoked by uid 500); 6 Sep 2011 01:36:35 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 83746 invoked by uid 500); 6 Sep 2011 01:36:35 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 83739 invoked by uid 99); 6 Sep 2011 01:36:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 01:36:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 01:36:32 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7445F2388A36 for ; Tue, 6 Sep 2011 01:36:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1165472 - in /cxf/branches/2.4.x-fixes: ./ distribution/src/main/release/samples/java_first_jaxws_factory_bean/ distribution/src/main/release/samples/java_first_pojo/ distribution/src/main/release/samples/jax_server_aegis_client/ distribut... Date: Tue, 06 Sep 2011 01:36:11 -0000 To: commits@cxf.apache.org From: gmazza@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110906013612.7445F2388A36@eris.apache.org> Author: gmazza Date: Tue Sep 6 01:36:11 2011 New Revision: 1165472 URL: http://svn.apache.org/viewvc?rev=1165472&view=rev Log: Merged revisions 1165469 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1165469 | gmazza | 2011-09-05 21:15:11 -0400 (Mon, 05 Sep 2011) | 1 line Removed Ant builds for 10 additional projects, per earlier team agreement. ........ Modified: cxf/branches/2.4.x-fixes/ (props changed) cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/build.xml cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml Propchange: cxf/branches/2.4.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/README.txt Tue Sep 6 01:36:11 2011 @@ -5,34 +5,6 @@ This demo illustrates how to develop a s It also makes use of LoggingInterceptors. The demo takes the "code first" approach using JAX-WS APIs. - -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - - - Building and running the demo using Maven --------------------------------------- @@ -53,6 +25,14 @@ files, run "mvn clean". Building the demo using javac ----------------------------- +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. + From the base directory of this sample (i.e., where this README file is located), first create the target directory build/classes and then compile the provided client and server code. Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt Tue Sep 6 01:36:11 2011 @@ -14,34 +14,6 @@ uncomment below four lines: //svrFactory.getServiceFactory().setDataBinding(new AegisDatabinding()); -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using Ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - -To remove the code generated from the WSDL file and the .class -files, run "ant clean" - Building and running the demo using Maven --------------------------------------- @@ -62,6 +34,15 @@ files, run "mvn clean". Building the demo using javac ------------------------------ +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. + + From the base directory of this sample (i.e., where this README file is located), first create the target directory build/classes: @@ -124,18 +105,6 @@ Building and running the demo in a servl Please refer to samples directory README for building demo in a servlet container. -Using ant, run the client application with the command: - - ant client-servlet -Dbase.url=http://localhost:# - -Where # is the TCP/IP port used by the servlet container, -e.g., 8080. - -Or - ant client-servlet -Dhost=localhost -Dport=8080 - -You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant client-servlet - Using java, run the client application with the command: For UNIX: Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt Tue Sep 6 01:36:11 2011 @@ -13,36 +13,8 @@ server, you merely need to add .aegis.xm otherwise present in the @nnotations. Note that the client needs both the WSDL and the .aegis.xml file to achieve coherence. -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using Ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - -To remove the code generated from the WSDL file and the .class -files, run "ant clean" - Building and running the demo using Maven ---------------------------------------- +----------------------------------------- From the base directory of this sample (i.e., where this README file is located), the pom.xml file is used to build and run the demo. @@ -61,6 +33,14 @@ files, run "mvn clean". Building the demo using javac ------------------------------ +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. + From the base directory of this sample (i.e., where this README file is located), first create the target directory build/classes: @@ -112,29 +92,10 @@ For Windows (may use either forward or b A new command windows opens for the server process. After running the client, terminate the server process by issuing Ctrl-C in its command window. -To remove the code generated from the WSDL file and the .class -files, either delete the build directory and its contents or run: - - ant clean - Building and running the demo in a servlet container ---------------------------------------------------- -Please refer to samples directory README for building demo in a servlet container. - -Using ant, run the client application with the command: - - ant client-servlet -Dbase.url=http://localhost:# - -Where # is the TCP/IP port used by the servlet container, -e.g., 8080. - -Or - ant client-servlet -Dhost=localhost -Dport=8080 - -You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant client-servlet - Using java, run the client application with the command: For UNIX: Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_async/README.txt Tue Sep 6 01:36:11 2011 @@ -36,37 +36,6 @@ to the wsdl2java generator. Please review the README in the samples directory before continuing. - - -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using Ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - -To remove the code generated from the WSDL file and the .class -files, run "ant clean". - - Building and running the demo using Maven --------------------------------------- @@ -84,9 +53,15 @@ To remove the code generated from the WS files, run "mvn clean". - Building the demo using wsdl2java and javac ------------------------------------------- +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. From the base directory of this sample (i.e., where this README file is located), run the following wsdl2java command to generate classes @@ -143,7 +118,4 @@ For Windows (may use either forward or b A new command windows opens for the server process. After running the client, terminate the server process by issuing Ctrl-C in its command window. -To remove the code generated from the WSDL file and the .class -files, either delete the build directory and its contents or run: - ant clean Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt Tue Sep 6 01:36:11 2011 @@ -12,39 +12,8 @@ src/demo/hwDispatch/client directory. Please review the README in the samples directory before continuing. - -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory's README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using Ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - -To remove the code generated from the WSDL file and the .class -files, run "ant clean". - - Building and running the demo using Maven --------------------------------------- - From the base directory of this sample (i.e., where this README file is located), the pom.xml file is used to build and run the demo. @@ -62,6 +31,13 @@ files, run "mvn clean". Building the demo using wsdl2java and javac ------------------------------------------- +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory's README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. From the base directory of this sample (i.e., where this README file is located) first create the target directory build/classes and then @@ -131,7 +107,4 @@ For Windows (may use either forward or b A new command windows opens for the server process. After running the client, terminate the server process by issuing Ctrl-C in its command window. -To remove the code generated from the WSDL file and the .class -files, either delete the build directory and its contents or run: - ant clean Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jaxws_handlers/README.txt Tue Sep 6 01:36:11 2011 @@ -15,55 +15,6 @@ circumstances. This handler is specified Please review the README in the samples directory before continuing. - -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the CLASSPATH, -and the JDK and ant bin directories on the PATH, it is not necessary to -set the environment as described in the samples directory's README. -If your environment is not properly configured, or if you are planning -on using wsdl2java, javac, and java to build and run the demos, you must -set the environment. - - -Building and running the demo using Ant ---------------------------------------- -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - -When using these ant targets, the server process uses the LoggingHandler -and the client process uses the SmallNumberHandler. Notice that both -the client and server consoles display short informative messages. The -client handler examines the operation parameters and, based on the -parameter values, may decide not to forward the request to the server. The server -handler displays the entire content of each message in its console. -The @HandlerChain annotation in the implementation class indicates that -the file demo_handler.xml includes the information needed to identify the -handler class. - - @HandlerChain(file = "../common/demo_handlers.xml", name = "DemoHandlerChain") - -The client side SmallNumberHandler is specified programatically: - - SmallNumberHandler sh = new SmallNumberHandler(); - List newHandlerChain = new ArrayList(); - newHandlerChain.add(sh); - ((BindingProvider)port).getBinding().setHandlerChain(newHandlerChain); - - -After running the client, terminate the server process. - -To remove the code generated from the WSDL file and the .class -files, run "ant clean". - - Building and running the demo using Maven --------------------------------------- @@ -84,6 +35,12 @@ files, run "mvn clean". Building the demo using wsdl2java and javac ------------------------------------------- +If your environment already includes cxf-manifest.jar on the CLASSPATH, +and the JDK directory on the PATH, it is not necessary to +set the environment as described in the samples directory's README. +If your environment is not properly configured, or if you are planning +on using wsdl2java, javac, and java to build and run the demos, you must +set the environment. From the base directory of this sample (i.e., where this README file is located) first create the target directory build/classes and then @@ -154,7 +111,4 @@ The server process starts in a new comma After running the client, terminate the server process. -To remove the code generated from the WSDL file and the .class -files, either delete the build directory and its contents or run: - ant clean Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/README.txt Tue Sep 6 01:36:11 2011 @@ -1,34 +1,11 @@ Generated JavaScript using jax-ws APIs and jsr-181 -============================================= +================================================== This sample shows the generation of JavaScript client code from a JAX-WS server. -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using ant ---------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - - -Building and running the demo using maven ---------------------------------------- +Building and running the demo using Maven +----------------------------------------- From the base directory of this sample (i.e., where this README file is located) @@ -42,6 +19,14 @@ Using either UNIX or Windows: Building the demo using javac ----------------------------- +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directory on the PATH +it is not necessary to set the environment as described in +the samples directory README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. + From the base directory of this sample (i.e., where this README file is located), first create the target directory build/classes and then compile the provided client and server code. Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/js_client/README.txt Tue Sep 6 01:36:11 2011 @@ -8,24 +8,6 @@ The client side makes call using JAX-WS to read the JavaScript file and run it. -Building and running the demo server using ant ----------------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. - -Using either UNIX or Windows: - - ant build - ant server (in the background or another window) - ant client (in another window) - -To remove the code generated from the WSDL file and the .class -files, run: - - ant clean - - Building and running the demo using maven --------------------------------------- @@ -54,3 +36,4 @@ The same time, the server will give this [java] Executing operation greetMe [java] Message received: Jeff + Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt Tue Sep 6 01:36:11 2011 @@ -8,33 +8,6 @@ Please review the README in the samples continuing. -Prerequisite ------------- - -If your environment already includes cxf-manifest.jar on the -CLASSPATH, and the JDK and ant bin directories on the PATH -it is not necessary to set the environment as described in -the samples directory's README. If your environment is not -properly configured, or if you are planning on using wsdl2java, -javac, and java to build and run the demos, you must set the -environment. - - -Building and running the demo using Ant ---------------------------------------- -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - -To remove the code generated from the WSDL file and the .class -files, run "ant clean". - - Building and running the demo using Maven --------------------------------------- From the base directory of this sample (i.e., where this README file is @@ -50,9 +23,15 @@ To remove the code generated from the WS files, run mvn clean". - Building the demo using wsdl2java and javac ------------------------------------------- +If your environment already includes cxf-manifest.jar on the +CLASSPATH, and the JDK directories on the PATH +it is not necessary to set the environment as described in +the samples directory's README. If your environment is not +properly configured, or if you are planning on using wsdl2java, +javac, and java to build and run the demos, you must set the +environment. From the base directory of this sample (i.e., where this README file is located), first create the target directory build/classes and then @@ -113,37 +92,10 @@ For Windows (may use either forward or b A new command windows opens for the server process. After running the client, terminate the server process by issuing Ctrl-C in its command window. -To remove the code generated from the WSDL file and the .class -files, either delete the build directory and its contents or run: - - ant clean - Building and running the demo in a servlet container ---------------------------------------------------- - -From the base directory of this sample (i.e., where this README file is -located), the ant build script can be used to create the war file that -is deployed into the servlet container. - -Build the war file with the command: - - ant war - - -The war file will be included in the directory -samples/mtom/build/war. Simply copy the war file into -the servlet container's deployment directory. For example, -with Tomcat copy the war file into the directory -$CATALINA_HOME/webapps. The servlet container will -extract the war and deploy the application. - -Using ant, run the client application with the command: - - ant client-servlet -Dbase.url=http://localhost:# - -Where # is the TCP/IP port used by the servlet container, -e.g., 8080. +Please refer to samples directory README for building demo in a servlet container. Using java, run the client application with the command: Modified: cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt?rev=1165472&r1=1165471&r2=1165472&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt (original) +++ cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt Tue Sep 6 01:36:11 2011 @@ -16,11 +16,8 @@ The Demo consist of three parts: Code generation --------------- - When using maven the code generation is done using the maven cxf-codegen-plugin (see http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html). -In case ant is used the macro wsdl2java in the common_build.xml builds the code -(see http://cxf.apache.org/docs/wsdl-to-java.html). The code generation is tuned using a binding.xml file. In this case the file configures that normal java Date is used for xsd:date and xsd:DateTime. If this is not present then XMLGregorianCalendar @@ -66,26 +63,6 @@ Prerequisite Please review the README in the samples main directory before continuing. -Building and running the demo using Ant ---------------------------------------- -From the base directory of this sample (i.e., where this README file is -located), the Ant build.xml file can be used to build and run the demo. -The server and client targets automatically build the demo. - -Using either UNIX or Windows: - - ant server (from one command line window) - ant client (from a second command line window) - - You can also publish or consumer the demo webservice from spring - - ant spring.server (from one command line window) - ant spring.client (from a second command line window) - -To remove the code generated from the WSDL file and the .class -files, run "ant clean". - - Building and running the demo using Maven ---------------------------------------