Author: gmazza
Date: Wed Mar 21 20:26:10 2012
New Revision: 1303559
URL: http://svn.apache.org/viewvc?rev=1303559&view=rev
Log:
Updated CORBA README's to show new Maven usage.
Modified:
cxf/trunk/distribution/src/main/release/samples/corba/bank/README.txt
cxf/trunk/distribution/src/main/release/samples/corba/bank_ws_addressing/README.txt
cxf/trunk/distribution/src/main/release/samples/corba/hello_world/README.txt
Modified: cxf/trunk/distribution/src/main/release/samples/corba/bank/README.txt
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/corba/bank/README.txt?rev=1303559&r1=1303558&r2=1303559&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/corba/bank/README.txt
(original)
+++ cxf/trunk/distribution/src/main/release/samples/corba/bank/README.txt Wed
Mar 21 20:26:10 2012
@@ -5,50 +5,36 @@ This demo illustrates the user of JAX-WS
that uses the CORBA/IIOP protocol for communication. It also
shows throwing exceptions accross that connection.
+Please review the README in the samples main directory before continuing.
-Prerequisite
-------------
+Building and running the demo using Maven
+-----------------------------------------
+From the base directory of this sample (i.e., where this README
+file is located), just run "mvn clean install" to build the demo.
-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.
-
-First, if using the Sun ORB built into the JDK, you need to start the orbd
-nameing service. From a command prompt, run:
+Prior to running the sample you'll need to start the orbd naming
+service. If using the Sun ORB built into the JDK, from a command
+prompt, run:
orbd -ORBInitialPort 1050 -serverPollingTime 200
-Other ORB's may have different requirements.
+Other ORBs may have different requirements.
+
Use Case - CXF/JAX-WS Server, CXF/JAX-WS Client
-------------------------------------------------
Start the CXF/JAX-WS server by running
- ant cxf.server
+ mvn -Pserver
Run the CXF/JAX-WS client by running:
- ant cxf.client
+ mvn -Pclient
Cleanup
=======
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
-
+files, just run "mvn clean".
Modified:
cxf/trunk/distribution/src/main/release/samples/corba/bank_ws_addressing/README.txt
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/corba/bank_ws_addressing/README.txt?rev=1303559&r1=1303558&r2=1303559&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/corba/bank_ws_addressing/README.txt
(original)
+++
cxf/trunk/distribution/src/main/release/samples/corba/bank_ws_addressing/README.txt
Wed Mar 21 20:26:10 2012
@@ -1,5 +1,5 @@
-Bank CORBA Demo
-===============
+CORBA Bank WS-Addressing Demo
+=============================
This demo illustrates the use of the JAX-WS APIs to run a simple
"Bank" application using CORBA/IIOP instead of SOAP/XML. It
@@ -10,59 +10,48 @@ CORBA server and a pure CORBA client hit
The Account objects returned from this sample are references to
Accounts on the server.
+Please review the README in the samples main 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 Maven
+-----------------------------------------
+From the base directory of this sample (i.e., where this README
+file is located), just run "mvn clean install" to build the demo.
-
-
-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.
-
-First, if using the Sun ORB built into the JDK, you need to start the orbd
-nameing service. From a command prompt, run:
+Prior to running the sample you'll need to start the orbd naming
+service. If using the Sun ORB built into the JDK, from a command
+prompt, run:
orbd -ORBInitialPort 1050 -serverPollingTime 200
-Other ORB's may have different requirements.
+Other ORBs may have different requirements.
Use Case 1 - Pure CORBA Server, CXF/JAX-WS Client
-------------------------------------------------
Start the pure CORBA server by running
- ant corba.server
+ mvn -Pcorba.server
Run the JAX-WS client by running:
- ant cxf.client
+ mvn -Pcxf.client
Use Case 2 - CXF/JAX-WS Server, Pure CORBA Client
-------------------------------------------------
Start the CXF/JAX-WS server by running
- ant cxf.server
+ mvn -Pcxf.server
Run the pure CORBA client by running:
- ant corba.client
+ mvn -Pcorba.client
Use Case 3 - CXF/JAX-WS Server, CXF/JAX-WS Client
-------------------------------------------------
Start the CXF/JAX-WS server by running
- ant cxf.server
+ mvn -Pcxf.server
Run the CXF/JAX-WS client by running:
- ant cxf.client
+ mvn -Pcxf.client
@@ -70,7 +59,5 @@ Cleanup
=======
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
+files, just run "mvn clean".
Modified:
cxf/trunk/distribution/src/main/release/samples/corba/hello_world/README.txt
URL:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/corba/hello_world/README.txt?rev=1303559&r1=1303558&r2=1303559&view=diff
==============================================================================
---
cxf/trunk/distribution/src/main/release/samples/corba/hello_world/README.txt
(original)
+++
cxf/trunk/distribution/src/main/release/samples/corba/hello_world/README.txt
Wed Mar 21 20:26:10 2012
@@ -1,65 +1,53 @@
Hello World CORBA Demo
======================
-
This demo illustrates the use of the JAX-WS APIs to run a simple
"hello world" application using CORBA/IIOP instead of SOAP/XML. It
also contains standard CORBA client/server applications using
pure CORBA code so you can can see the JAX-WS client hit a pure
CORBA server and a pure CORBA client hit the 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.
+Please review the README in the samples main directory before continuing.
+Building and running the demo using Maven
+-----------------------------------------
+From the base directory of this sample (i.e., where this README
+file is located), just run "mvn clean install" to build the demo.
-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.
-
-First, if using the Sun ORB built into the JDK, you need to start the orbd
-nameing service. From a command prompt, run:
+Prior to running the sample you'll need to start the orbd naming
+service. If using the Sun ORB built into the JDK, from a command
+prompt, run:
orbd -ORBInitialPort 1050 -serverPollingTime 200
-Other ORB's may have different requirements.
+Other ORBs may have different requirements.
Use Case 1 - Pure CORBA Server, CXF/JAX-WS Client
-------------------------------------------------
Start the pure CORBA server by running
- ant corba.server
+ mvn -Pcorba.server
Run the JAX-WS client by running:
- ant cxf.client
+ mvn -Pcxf.client
Use Case 2 - CXF/JAX-WS Server, Pure CORBA Client
-------------------------------------------------
Start the CXF/JAX-WS server by running
- ant cxf.server
+ mvn -Pcxf.server
Run the pure CORBA client by running:
- ant corba.client
+ mvn -Pcorba.client
Use Case 3 - CXF/JAX-WS Server, CXF/JAX-WS Client
-------------------------------------------------
Start the CXF/JAX-WS server by running
- ant cxf.server
+ mvn -Pcxf.server
Run the CXF/JAX-WS client by running:
- ant cxf.client
+ mvn -Pcxf.client
@@ -67,7 +55,5 @@ Cleanup
=======
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
+files, just run "mvn clean".