Author: tli
Date: Tue Nov 21 22:57:34 2006
New Revision: 478053
URL: http://svn.apache.org/viewvc?view=rev&rev=478053
Log:
fix the demo readme
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt
incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt?view=diff&rev=478053&r1=478052&r2=478053
==============================================================================
---
incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt
(original)
+++
incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt
Tue Nov 21 22:57:34 2006
@@ -74,7 +74,19 @@
Now compile both the generated code and the provided client
application with the commands:
+For UNIX:
+ cp src/demo/hwDispatch/client/*.xml build/classes/demo/hwDispatch/client/
+ export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:
+ $CXF_HOME/lib/js-1.6R2.jar:$CXF_HOME/lib/xbean-2.1.0.jar:
+ build/classes
javac -d build/classes src/demo/hwDispatch/client/*.java
+
+For Windows:
+ copy src\demo\hwDispatch\client\*.xml build\classes\demo\hwDispatch\client\
+ set CLASSPATH=%CLASSPATH%;%CXF_HOME%\lib\cxf-incubator.jar;
+ %CXF_HOME%\lib\js-1.6R2.jar;%CXF_HOME%\lib\xbean-2.1.0.jar;
+ build\classes
+ javac -d build\classes src\demo\hwDispatch\client\*.java
Windows may use either forward or back slashes.
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt?view=diff&rev=478053&r1=478052&r2=478053
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
Tue Nov 21 22:57:34 2006
@@ -115,49 +115,3 @@
files, either delete the build directory and its contents or run:
ant clean
-
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-From the samples/mtom directory, 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
-<installationDirectory>/webapps. The servlet container will
-extract the war and deploy the application.
-
-Make sure already copy all jars from CXF_HOME/lib to
-<TomcatInstallationDirectory>/shared/lib
-
-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.
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.mtom.client.Client http://localhost:#/mtom/cxf/mime_test
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.mtom.client.Client http://localhost:#/mtom/cxf/mime_test
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.