cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1083132 - in /cxf/trunk/distribution: ./ src/main/assembly/ src/main/release/lib-samples/ src/main/release/samples/ src/main/release/samples/aegis_standalone/ src/main/release/samples/groovy_spring_support/ src/main/release/samples/in_jvm_...
Date Sat, 19 Mar 2011 02:24:38 GMT
Author: dkulp
Date: Sat Mar 19 02:24:37 2011
New Revision: 1083132

URL: http://svn.apache.org/viewvc?rev=1083132&view=rev
Log:
Remove the lib-samples stuff and remove the build.xml files that
required it.

Removed:
    cxf/trunk/distribution/src/main/release/lib-samples/README
    cxf/trunk/distribution/src/main/release/samples/aegis_standalone/build.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/build.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/webapp/WEB-INF/beans.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/webapp/WEB-INF/web.xml
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/build.xml
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/build.xml
    cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/build.xml
    cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/build.xml
    cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/build.xml
    cxf/trunk/distribution/src/main/release/samples/jms_pubsub/build.xml
    cxf/trunk/distribution/src/main/release/samples/jms_queue/build.xml
Modified:
    cxf/trunk/distribution/pom.xml
    cxf/trunk/distribution/src/main/assembly/bin.xml
    cxf/trunk/distribution/src/main/release/samples/aegis_standalone/README.txt
    cxf/trunk/distribution/src/main/release/samples/common_build.xml
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml
    cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/coloc.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/README.txt
    cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/README.txt
    cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/README.txt
    cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/README.txt
    cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/README.txt
    cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt
    cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java

Modified: cxf/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/pom.xml?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/pom.xml (original)
+++ cxf/trunk/distribution/pom.xml Sat Mar 19 02:24:37 2011
@@ -382,48 +382,6 @@
                                     <outputDirectory>${project.build.directory}/additional-libs</outputDirectory>
                                 </artifactItem>
                                 <artifactItem>
-                                    <groupId>org.eclipse.jetty</groupId>
-                                    <artifactId>jetty-webapp</artifactId>
-                                    <version>${cxf.jetty.version}</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.eclipse.jetty</groupId>
-                                    <artifactId>jetty-servlet</artifactId>
-                                    <version>${cxf.jetty.version}</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.eclipse.jetty</groupId>
-                                    <artifactId>jetty-security</artifactId>
-                                    <version>${cxf.jetty.version}</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.eclipse.jetty</groupId>
-                                    <artifactId>jetty-xml</artifactId>
-                                    <version>${cxf.jetty.version}</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>junit</groupId>
-                                    <artifactId>junit</artifactId>
-                                    <version>4.8.1</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>commons-httpclient</groupId>
-                                    <artifactId>commons-httpclient</artifactId>
-                                    <version>3.1</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.apache.geronimo.specs</groupId>
-                                    <artifactId>geronimo-ejb_3.0_spec</artifactId>
-                                    <version>1.0.1</version>
-                                    <outputDirectory>${project.build.directory}/sample-libs</outputDirectory>
-                                </artifactItem>
-                                <artifactItem>
                                     <groupId>javax.xml.bind</groupId>
                                     <artifactId>jaxb-api</artifactId>
                                     <version>${cxf.jaxb22.version}</version>
@@ -471,22 +429,16 @@
                             <tasks>
                                 <mkdir dir="${basedir}/target" />
                                 <pathconvert property="cp" refid="maven.runtime.classpath" />
-                                <path id="samples.libs">
-                                    <fileset dir="${basedir}/target/sample-libs">
-                                        <include name="**/*.jar"/>
-                                    </fileset>
-                                </path>
-                                <pathconvert property="samples.libs.cp" refid="samples.libs" />
-                                <condition property="output.cp" value="set CXF_CLASSPATH=${cp}:${samples.libs.cp}">
+                                <condition property="output.cp" value="set CXF_CLASSPATH=${cp}">
                                     <os family="windows" />
                                 </condition>
                                 <condition property="output.ext" value=".bat">
                                     <os family="windows" />
                                 </condition>
-                                <property name="output.cp" value="export CXF_CLASSPATH=${cp}:${samples.libs.cp}" />
+                                <property name="output.cp" value="export CXF_CLASSPATH=${cp}" />
                                 <property name="output.ext" value="" />
                                 <echo file="${basedir}/target/srcbuild_env${output.ext}" message="${output.cp}" />
-                                <echo file="${basedir}/target/srcbuild_env.ant" message="${cp}:${samples.libs.cp}" />
+                                <echo file="${basedir}/target/srcbuild_env.ant" message="${cp}" />
                                 <echo file="${basedir}/target/version.properties" message="cxf.version=${project.version}" />
                                 <copy file="${basedir}/src/main/assembly/jbi.xml" tofile="${basedir}/target/jbi.xml" overwrite="yes">
                                     <filterset>

Modified: cxf/trunk/distribution/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/assembly/bin.xml?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/assembly/bin.xml (original)
+++ cxf/trunk/distribution/src/main/assembly/bin.xml Sat Mar 19 02:24:37 2011
@@ -99,13 +99,6 @@
             </excludes>
         </fileSet>
         <fileSet>
-            <directory>target/sample-libs</directory>
-            <outputDirectory>apache-cxf-${cxf.version}/lib-samples</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
             <directory>target/libs/endorsed</directory>
             <outputDirectory>apache-cxf-${cxf.version}/lib/endorsed</outputDirectory>
             <includes>

Modified: cxf/trunk/distribution/src/main/release/samples/aegis_standalone/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/aegis_standalone/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/aegis_standalone/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/aegis_standalone/README.txt Sat Mar 19 02:24:37 2011
@@ -16,18 +16,6 @@ javac, and java to build and run the dem
 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
-    
-
-To remove the .class files, run "ant clean"
 
 Building and running the demo using Maven
 ---------------------------------------
@@ -38,7 +26,8 @@ located), the pom.xml file is used to bu
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)
-  mvn -Prun  (from one command line window)
+  mvn -Pwrite  (from one command line window)
+  mvn -Pread  (from one command line window)
 
 
 To remove the generated code, run "mvn clean".

Modified: cxf/trunk/distribution/src/main/release/samples/common_build.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/common_build.xml?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/common_build.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/common_build.xml Sat Mar 19 02:24:37 2011
@@ -105,9 +105,6 @@
         <pathelement location="${build.classes.dir}"/>
         <pathelement path="${srcbuild.classpath}"/>
         <pathelement location="${cxf.home}/lib/cxf-manifest.jar"/>
-        <fileset dir="${cxf.home}/lib-samples">
-            <include name="**/*.jar"/>
-        </fileset>
         <fileset dir="${cxf.endorsed.dir}">
             <include name="*.jar"/>
         </fileset>

Modified: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml Sat Mar 19 02:24:37 2011
@@ -20,45 +20,39 @@
 <project name="Groovy Spring demo" default="build" basedir=".">
 
     <property name="maven.repo" value="http://repo1.maven.org/maven2"/>
-    <property name="spring.version" value="2.0.6"/>
     <property name="groovy.version" value="1.7.5"/>
     
-    <property name="spring-aop.jar" value="spring-aop-${spring.version}.jar"/>
-    <property name="spring-support.jar" value="spring-support-${spring.version}.jar"/>
-    <property name="spring-repo" value="${maven.repo}/org/springframework"/>
 
     <property name="groovy.jar" value="groovy-${groovy.version}.jar" />
     <property name="antlr.jar" value="antlr-2.7.6.jar" />
     <property name="groovy-repo" value="${maven.repo}/org/codehaus/groovy/groovy/${groovy.version}"/>
 
-    <property name="thirdparty.classpath" 
-	      value="../../lib/${spring-aop.jar}${path.separator}../../lib/${spring-support.jar}${path.separator}lib/${groovy.jar}${path.separator}lib/${antlr.jar}"/>
+    <property name="thirdparty.classpath"
+        value="${path.separator}lib/${groovy.jar}${path.separator}lib/${antlr.jar}"/>
 
     <import file="../common_build.xml"/>
 
     <target name="get.dep" description="Get the thirdpaty jars">
-	<get src="${spring-repo}/spring-aop/${spring.version}/${spring-aop.jar}" dest="${cxf.home}/lib/${spring-aop.jar}" usetimestamp="true"/>
-	<get src="${spring-repo}/spring-support/${spring.version}/${spring-support.jar}" dest="${cxf.home}/lib/${spring-support.jar}" usetimestamp="true"/>
-
-	<mkdir dir="lib"/>
-	<get src="${groovy-repo}/${groovy.jar}" dest="lib/${groovy.jar}" usetimestamp="true"/>
-	<get src="${maven.repo}/antlr/antlr/2.7.6/${antlr.jar}" dest="lib/${antlr.jar}" usetimestamp="true"/>
+        <mkdir dir="lib"/>
+        <get src="${groovy-repo}/${groovy.jar}" dest="lib/${groovy.jar}" usetimestamp="true"/>
+        <get src="${maven.repo}/antlr/antlr/2.7.6/${antlr.jar}" dest="lib/${antlr.jar}" usetimestamp="true"/>
     </target>
 
     <target name="client" description="run demo client" depends="build">
         <property name="param" value=""/>
         <cxfrun classname="demo.spring.client.Client" />
-    </target> 
+    </target>
         
+
     <target name="server" description="run demo server" depends="build">
         <copy todir="build/classes/demo/spring">
-          <fileset dir="src/demo/spring" excludes="**/*.java"/>
+            <fileset dir="src/demo/spring" excludes="**/*.java"/>
         </copy>
         <cxfrun classname="demo.spring.servlet.Server"/>
     </target>
 
     <property name="cxf.war.file.name" value="spring_http"/>
-      <target name="war" depends="build">
-	  <cxfwar filename="${cxf.war.file.name}.war" webxml="webapp/WEB-INF/web.xml" />
+    <target name="war" depends="build">
+        <cxfwar filename="${cxf.war.file.name}.war" webxml="webapp/WEB-INF/web.xml" />
     </target>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/coloc.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/coloc.xml?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/coloc.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/coloc.xml Sat Mar 19 02:24:37 2011
@@ -21,19 +21,19 @@
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:jaxws="http://cxf.apache.org/jaxws"
        xmlns:coloc="http://cxf.apache.org/binding/coloc"
+       xmlns:cxf="http://cxf.apache.org/core"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
 
     <bean id="faultOutbound" class="demo.colocated.common.ThrowFaultInterceptor"/>
 
-    <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
-        <property name="outInterceptors">
-            <list>
-                <ref bean="faultOutbound"/>
-            </list>
-        </property>
-    </bean>
+    <cxf:bus>
+        <cxf:outInterceptors> 
+            <ref bean="faultOutbound"/>
+        </cxf:outInterceptors>
+    </cxf:bus>
 
     <!-- Avoid upfront Conduit creation, as client-side transport resources
          are not required in the coloc case -->

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt Sat Mar 19 02:24:37 2011
@@ -24,21 +24,6 @@ javac, and java to build and run the dem
 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
 ---------------------------------------
 

Modified: cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/basic/README.txt Sat Mar 19 02:24:37 2011
@@ -52,35 +52,6 @@ Please review the README in the samples 
 continuing.
 
 
-Prerequisites
--------------
-
-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
 ---------------------------------------
@@ -99,68 +70,4 @@ Using either UNIX or Windows:
 To remove the target dir, run mvn clean".
 
 
-Building the demo using javac
--------------------------------------------
-
-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 applications with the commands:
-
-For UNIX:  
-  mkdir -p build/classes
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
-  javac -d build/classes src/demo/jaxrs/client/*.java
-  javac -d build/classes src/demo/jaxrs/server/*.java
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
-  javac -d build\classes src\demo\jaxrs\client\*.java
-  javac -d build\classes src\demo\jaxrs\server\*.java
-
-
-Finally, copy resource files into the build/classes directory with the commands:
-
-For UNIX:    
-  cp ./src/demo/jaxrs/client/*.xml ./build/classes/demo/jaxrs/client
-  cp ./src/demo/jaxrs/server/*.xml ./build/classes/demo/jaxrs/server
-
-For Windows:
-  copy src\demo\jaxrs\client\*.xml build\classes\demo\jaxrs\client
-  copy src\demo\jaxrs\server\*.xml build\classes\demo\jaxrs\server
-
-
-Running the demo using java
----------------------------
-
-From the samples/jax-rs/basic directory run the following commands. They 
-are entered on a single command line.
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.client.Client
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.server.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.client.Client
-
-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/trunk/distribution/src/main/release/samples/jax_rs/basic_https/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/basic_https/README.txt Sat Mar 19 02:24:37 2011
@@ -34,100 +34,23 @@ Please review the README in the samples 
 continuing.
 
 
-Prerequisites
--------------
-
-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
+Building and running the demo using maven
 ---------------------------------------
 
 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.
+located), the maven pom.xml file can be used to build and run the demo. 
+
 
 Using either UNIX or Windows:
 
-  ant server  (from one command line window)
-  ant client  (from a second command line window)
+  mvn install
+  mvn -Pserver  (from one command line window)
+  mvn -Pclient  (from a second command line window)
     
 
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-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 applications with the commands:
-
-For UNIX:  
-  mkdir -p build/classes
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
-  javac -d build/classes src/demo/jaxrs/client/*.java
-  javac -d build/classes src/demo/jaxrs/server/*.java
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
-  javac -d build\classes src\demo\jaxrs\client\*.java
-  javac -d build\classes src\demo\jaxrs\server\*.java
-
-
-Finally, copy resource files into the build/classes directory with the commands:
-
-For UNIX:    
-  cp ./src/demo/jaxrs/client/*.xml ./build/classes/demo/jaxrs/client
-  cp ./src/demo/jaxrs/server/*.xml ./build/classes/demo/jaxrs/server
-
-For Windows:
-  copy src\demo\jaxrs\client\*.xml build\classes\demo\jaxrs\client
-  copy src\demo\jaxrs\server\*.xml build\classes\demo\jaxrs\server
-
-
-Running the demo using java
----------------------------
-
-From the samples/jax_rs/basic_https directory run the following commands. They 
-are entered on a single command line.
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.client.Client
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.server.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.client.Client
-
-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 target dir, run mvn clean".
 
-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
 
 
 Certificates

Modified: cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/content_negotiation/README.txt Sat Mar 19 02:24:37 2011
@@ -34,33 +34,6 @@ Please review the README in the samples 
 continuing.
 
 
-Prerequisites
--------------
-
-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 .class files, run "ant clean".
-
 
 Building and running the demo using maven
 ---------------------------------------
@@ -79,68 +52,3 @@ Using either UNIX or Windows:
 To remove the target dir, run mvn clean".
 
 
-Building the demo using javac
--------------------------------------------
-
-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 applications with the commands:
-
-For UNIX:  
-  mkdir -p build/classes
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
-  javac -d build/classes src/demo/jaxrs/client/*.java
-  javac -d build/classes src/demo/jaxrs/server/*.java
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
-  javac -d build\classes src\demo\jaxrs\client\*.java
-  javac -d build\classes src\demo\jaxrs\server\*.java
-
-
-Finally, copy resource files into the build/classes directory with the commands:
-
-For UNIX:    
-  cp ./src/demo/jaxrs/client/*.xml ./build/classes/demo/jaxrs/client
-  cp ./src/demo/jaxrs/server/*.xml ./build/classes/demo/jaxrs/server
-
-For Windows:
-  copy src\demo\jaxrs\client\*.xml build\classes\demo\jaxrs\client
-  copy src\demo\jaxrs\server\*.xml build\classes\demo\jaxrs\server
-
-
-Running the demo using java
----------------------------
-
-From the samples/jax-rs/content_negotiation directory run the following commands. They 
-are entered on a single command line.
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.client.Client
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.server.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.client.Client
-
-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/trunk/distribution/src/main/release/samples/jax_rs/spring_security/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jax_rs/spring_security/README.txt Sat Mar 19 02:24:37 2011
@@ -11,45 +11,6 @@ Additionally, the JAXRS annotations inhe
 definitions.
 
 
-Prerequisites
--------------
-Please read the SpringSecurity documentation available at http://static.springframework.org/spring-security/site/reference/html/springsecurity.html.
-
-If you'd like to run a demo with Ant :
- - Download a Spring Framework distribution from http://www.springsource.org/download and unzip/untar it,
-   as Fuse does not ship spring-aop.jar. Note the spring version used by Fuse and download a corresponding
-   framework distribution.    
- - Download a Spring Security distribution from http://www.springsource.org/download and unzip/untar it.
-   2.0.4 version was used to develop this demo but newer versions will also work.
- - Download an AspectJ distribution from http://www.eclipse.org/aspectj/downloads.php
-
-Additionally, 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 -Dspring.home=%SPRING_HOME% -Dspring.security.home=%SPRING_SECURITY_HOME% -Daspectj.home=%ASPECTJ_HOME%
-     (from one command line window)
-
-  ant client  (from a second command line window)
-    
-
-To remove the .class files, either delete the build directory and its contents or run:
-
-ant clean
 
 
 Building and running the demo using maven
@@ -69,69 +30,6 @@ Using either UNIX or Windows:
 To remove the target dir, run "mvn clean".
 
 
-Building the demo using javac
--------------------------------------------
-
-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 applications with the commands:
-
-For UNIX:  
-  mkdir -p build/classes
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
-  javac -d build/classes src/demo/jaxrs/client/*.java
-  javac -d build/classes src/demo/jaxrs/server/*.java
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
-  javac -d build\classes src\demo\jaxrs\client\*.java
-  javac -d build\classes src\demo\jaxrs\service\*.java
-  javac -d build\classes src\demo\jaxrs\servlet\*.java
-
-Finally, copy resource files into the build/classes directory with the commands:
-
-For UNIX:    
-  cp ./src/demo/jaxrs/client/*.xml ./build/classes/demo/jaxrs/client
-
-For Windows:
-  copy src\demo\jaxrs\client\*.xml build\classes\demo\jaxrs\client
-
-
-Running the demo using java
----------------------------
-
-From the samples/jax-rs/spring_security directory run the following commands. They 
-are entered on a single command line.
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.servlet.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jaxrs.client.Client
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.servlet.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jaxrs.client.Client
-
-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 .class files, either delete the build directory and its contents or run:
-
-  ant clean
-
 
 What happens when a demo is run
 -------------------------------

Modified: cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jms-spec-demo/README.txt Sat Mar 19 02:24:37 2011
@@ -10,52 +10,6 @@ continuing.
 This demo uses ActiveMQ as the JMS implementation for 
 illustration purposes only. 
 
-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
----------------------------------------
-
-This demo requires ActiveMQ 5.0.0. Before you run this
-demo, please make sure you had installed the ActiveMQ 5.0.0 and
-set ACTIVEMQ_HOME and ACTIVEMQ_VERSION environment variables.
-ActiveMQ 5.0.0 the version variable should be
-
-For Unix:
-export ACTIVEMQ_HOME=/installdir/apache-activemq-5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=installdir\apache-activemq-5.0.0
-
-ActiveMQ 5.0.0 the version variable should be
-For Unix:
-export ACTIVEMQ_VERSION=5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=5.0.0
-
-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 jmsbroker.start 
-  ant server 
-  ant client
-    
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
 
 
 Building and running the demo using maven
@@ -76,72 +30,3 @@ To remove the code generated from the WS
 files, run "mvn clean".
 
 
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then 
-generate code from the WSDL file.
-
-For UNIX:
-  mkdir -p build/classes
-
-  wsdl2java -d build/classes -compile ./wsdl/jms_greeter.wsdl
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  wsdl2java -d build\classes -compile .\wsdl\jms_greeter.wsdl
-    May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:  
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes:
-$ACTIVEMQ_HOME/apache-activemq-$ACTIVEMQ_VERSION.jar
-  javac -d build/classes src/demo/jms_greeter/client/*.java
-  javac -d build/classes src/demo/jms_greeter/server/*.java
-
-For Windows:
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes;
-%ACTIVEMQ_HOME%\apache-activemq-%ACTIVEMQ_VERSION%.jar
-  javac -d build\classes src\demo\jms_greeter\client\*.java
-  javac -d build\classes src\demo\jms_greeter\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.client.Client ./wsdl/jms_greeter.wsdl
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-         demo.jms_greeter.server.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-         demo.jms_greeter.client.Client .\wsdl\jms_greeter.wsdl
-
-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.
-
-
-Now you can stop ActiveMQ JMS Broker 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/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt Sat Mar 19 02:24:37 2011
@@ -8,55 +8,7 @@ Please review the README in the samples 
 continuing.
 
 This demo uses ActiveMQ as the JMS implementation for 
-illustration purposes only. Other JMS implementations 
-such as Apache Qpid could also be used in the same way.
-For details on how to use this demo on non-ActiveMQ 
-implementations please check "Using other JMS implementations"
-below.
-
-
-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
----------------------------------------
-
-This demo requires ActiveMQ 5.0.0. Before you run this
-demo, please make sure you had installed the ActiveMQ 5.0.0 and
-set ACTIVEMQ_HOME and ACTIVEMQ_VERSION environment variables.
-ActiveMQ 5.0.0 the version variable should be
-
-For Unix:
-export ACTIVEMQ_HOME=/installdir/apache-activemq-5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=installdir\apache-activemq-5.0.0
-
-ActiveMQ 5.0.0 the version variable should be
-For Unix:
-export ACTIVEMQ_VERSION=5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=5.0.0
-
-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 jmsbroker.start 
-  ant server
-  ant client
+illustration purposes only.
   
   
 Building and running the demo using maven
@@ -77,136 +29,3 @@ To remove the code generated from the WS
 files, run "mvn clean".
 
 
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then 
-generate code from the WSDL file.
-
-
-For UNIX:
-  mkdir -p build/classes
-
-  wsdl2java -d build/classes -compile ./wsdl/jms_greeter.wsdl
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  wsdl2java -d build\classes -compile .\wsdl\jms_greeter.wsdl
-    May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:  
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes:
-$ACTIVEMQ_HOME/activemq-all-$ACTIVEMQ_VERSION.jar
-  javac -d build/classes src/demo/jms_greeter/client/*.java
-  javac -d build/classes src/demo/jms_greeter/server/*.java
-
-For Windows:
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes;
-%ACTIVEMQ_HOME%\activemq-all-%ACTIVEMQ_VERSION%.jar
-  javac -d build\classes src\demo\jms_greeter\client\*.java
-  javac -d build\classes src\demo\jms_greeter\server\*.java
-
-
-Running the demo using java
----------------------------
-
-The location of <activemq.home.dir> depends on whether you have installed the
-binary or source release.  
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.client.Client ./wsdl/jms_greeter.wsdl
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jms_greeter.server.Server   
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.jms_greeter.client.Client .\wsdl\jms_greeter.wsdl
-
-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.
-
-
-Now you can stop ActiveMQ JMS Broker 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
-
-
-Using other JMS implementations:
--------------------------------
-
-
-Using it with Apache Qpid:  
--------------------------
-
-Before running the run, you will have to set QPID_HOME in your environment, 
-and also have to start the Qpid broker. 
-
-The following changes are needed to the demo to make it work for Apache Qpid.
-
-1. Changes to wsdl/jms_greeter.wsdl
-- Replace the jms:address element under wsdl:port with:                
-     <jms:address
-         destinationStyle="topic"
-         jndiConnectionFactoryName="local"
-         jndiDestinationName="direct">
-         <jms:JMSNamingProperty name="java.naming.factory.initial" 
-             value="org.apache.qpid.jndi.PropertiesFileInitialContextFactory"/>
-         <jms:JMSNamingProperty name="java.naming.provider.url" 
-             value="tcp://localhost:5672"/>
-         <jms:JMSNamingProperty name="connectionfactory.local" 
-             value="amqp://guest:guest@pdartix30.boston.amer.iona.com1167022402426/test?brokerlist='tcp://localhost:5672'"/>
-         <jms:JMSNamingProperty name="topic.direct" value="topic://topictest"/>
-     </jms:address>
-
-2. Changes to build.xml.
-- Replace 
-    <condition property="activemq.home" value="${env.ACTIVEMQ_HOME}">
-        <isset property="env.ACTIVEMQ_HOME"/>
-    </condition>
-    <fail message="this sample need to use activemq, please setup  ACTIVEMQ_HOME in your environment"
-        unless="activemq.home"/>
-    <condition property="activemq.version" value="${env.ACTIVEMQ_VERSION}">
-	<isset property="env.ACTIVEMQ_VERSION"/>
-    </condition>
-    <fail message="this sample need to use activemq, please setup ACTIVEMQ_VERSION in your envrionment"
-        unless="activemq.version"/>
-    <property name="thirdparty.classpath" location="${activemq.home}/activemq-all-${activemq.version}.jar"/>
- 
-  with
-
-   <condition property="qpid.home" value="${env.QPID_HOME}">
-        <isset property="env.QPID_HOME"/>
-    </condition>
-
-    <fail message="this sample need to use qpid, please setup QPID_HOME in your environment"
-        unless="qpid.home"/>
-
-    <property name="thirdparty.classpath" location="${qpid.home}/lib/qpid-incubating.jar"/>    
-
-- Remove the target jmsbroker.start from build.xml. This is only a helper function to start the 
-  Active MQ broker, and is not required if the broker can be started through the scripts.
-
-3. Remove the file, EmbeddedBroker.java from under the directory src/demo/jms_greeter/broker. This is
-   only a helper function and therefore need not be used, as long as the broker is started
-   through the scripts.

Modified: cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt Sat Mar 19 02:24:37 2011
@@ -8,59 +8,9 @@ Please review the README in the samples 
 continuing.
 
 This demo uses ActiveMQ as the JMS implementation for 
-illustration purposes only. Other JMS implementations 
-such as Apache Qpid could also be used in the same way.
-For details on how to use this demo on non-ActiveMQ 
-implementations please check "Using other JMS implementaions"
-below.
-
-
-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.
+illustration purposes only.
 
 
-Building and running the demo using ant
----------------------------------------
-
-This demo requires ActiveMQ 5.0.0. Before you run this
-demo, please make sure you had installed the ActiveMQ 5.0.0 and
-set ACTIVEMQ_HOME and ACTIVEMQ_VERSION environment variables.
-ActiveMQ 5.0.0 the version variable should be
-
-For Unix:
-export ACTIVEMQ_HOME=/installdir/apache-activemq-5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=installdir\apache-activemq-5.0.0
-
-ActiveMQ 5.0.0 the version variable should be
-For Unix:
-export ACTIVEMQ_VERSION=5.0.0
-
-For Windows:
-set ACTIVEMQ_VERSION=5.0.0
-
-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 jmsbroker.start 
-  ant server 
-  ant client
-    
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
 
 
 Building and running the demo using maven
@@ -81,132 +31,3 @@ To remove the code generated from the WS
 files, run "mvn clean".
 
 
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then 
-generate code from the WSDL file.
-
-For UNIX:
-  mkdir -p build/classes
-
-  wsdl2java -d build/classes -compile ./wsdl/jms_greeter.wsdl
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  wsdl2java -d build\classes -compile .\wsdl\jms_greeter.wsdl
-    May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:  
-  
-  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes:
-$ACTIVEMQ_HOME/apache-activemq-$ACTIVEMQ_VERSION.jar
-  javac -d build/classes src/demo/jms_greeter/client/*.java
-  javac -d build/classes src/demo/jms_greeter/server/*.java
-
-For Windows:
-  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes;
-%ACTIVEMQ_HOME%\apache-activemq-%ACTIVEMQ_VERSION%.jar
-  javac -d build\classes src\demo\jms_greeter\client\*.java
-  javac -d build\classes src\demo\jms_greeter\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.server.Server &
-
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.jms_greeter.client.Client ./wsdl/jms_greeter.wsdl
-
-The server process starts in the background.  After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
-  start 
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-         demo.jms_greeter.server.Server
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-         demo.jms_greeter.client.Client .\wsdl\jms_greeter.wsdl
-
-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.
-
-
-Now you can stop ActiveMQ JMS Broker 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
-
-
-Using other JMS implementations:
--------------------------------
-
-
-Using it with Apache Qpid:  
--------------------------
-
-Before running the run, you will have to set QPID_HOME in your environment, 
-and also have to start the Qpid broker. 
-
-The following changes are needed to the demo to make it work for Apache Qpid.
-
-1. Changes to wsdl/jms_greeter.wsdl
-- Replace the jms:address element under wsdl:port with:                
-      <jms:address
-          destinationStyle="queue"
-          jndiConnectionFactoryName="local"
-          jndiDestinationName="dq">
-          <jms:JMSNamingProperty name="java.naming.factory.initial" 
-               value="org.apache.qpid.jndi.PropertiesFileInitialContextFactory"/>
-          <jms:JMSNamingProperty name="java.naming.provider.url" 
-               value="tcp://localhost:5672"/>
-          <jms:JMSNamingProperty name="connectionfactory.local" 
-               value="amqp://guest:guest@clientid/test?brokerlist='tcp://localhost:5672'"/>
-          <jms:JMSNamingProperty name="queue.dq" value="queue://queuetest"/>
-      </jms:address>
-
-2. Changes to build.xml.
-- Replace 
-    <condition property="activemq.home" value="${env.ACTIVEMQ_HOME}">
-        <isset property="env.ACTIVEMQ_HOME"/>
-    </condition>
-    <fail message="this sample need to use activemq, please setup  ACTIVEMQ_HOME in your environment"
-        unless="activemq.home"/>
-    <condition property="activemq.version" value="${env.ACTIVEMQ_VERSION}">
-	<isset property="env.ACTIVEMQ_VERSION"/>
-    </condition>
-    <fail message="this sample need to use activemq, please setup ACTIVEMQ_VERSION in your envrionment"
-        unless="activemq.version"/>
-    <property name="thirdparty.classpath" location="${activemq.home}/incubator-activemq-${activemq.version}.jar"/>
- 
-  with
-
-   <condition property="qpid.home" value="${env.QPID_HOME}">
-        <isset property="env.QPID_HOME"/>
-    </condition>
-
-    <fail message="this sample need to use qpid, please setup QPID_HOME in your environment"
-        unless="qpid.home"/>
-
-    <property name="thirdparty.classpath" location="${qpid.home}/lib/qpid-incubating.jar"/>    
-
-- Remove the target jmsbroker.start from build.xml. This is only a helper function to start the 
-  Active MQ broker, and is not required if the broker can be started through the scripts.
-
-3. Remove the file, EmbeddedBroker.java from under the directory src/demo/jms_greeter/broker. This is
-   only a helper function and therefore need not be used, as long as the broker is started
-   through the scripts.

Modified: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java?rev=1083132&r1=1083131&r2=1083132&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java (original)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/logbrowser/App.java Sat Mar 19 02:24:37 2011
@@ -19,7 +19,6 @@
 
 package demo.logbrowser;
 
-import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Set;
 import javax.ws.rs.core.Application;



Mime
View raw message