Author: ningjiang
Date: Thu Oct 29 12:18:43 2009
New Revision: 830911

URL: http://svn.apache.org/viewvc?rev=830911&view=rev
Log:
Updated the camel-example-cxf files for the JAXRS example

Modified:
    camel/trunk/examples/camel-example-cxf/README.txt
    camel/trunk/examples/camel-example-cxf/build.xml
    camel/trunk/examples/camel-example-cxf/pom.xml

Modified: camel/trunk/examples/camel-example-cxf/README.txt
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/README.txt?rev=830911&r1=830910&r2=830911&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/README.txt (original)
+++ camel/trunk/examples/camel-example-cxf/README.txt Thu Oct 29 12:18:43 2009
@@ -15,6 +15,9 @@
 
 To run the example of using WebServiceProvider API
   mvn exec:java -PWebServiceProvider
+  
+To run the example of showing how to create CXF JAXRS endpoint
+  mvn exec:java -PJAXRS
 
 
 To run the example with Ant
@@ -50,6 +53,9 @@
 
      To run the example of using WebServiceProvider API
     ant runWebServiceProvider
+    
+    To run the example of showing how to create CXF JAXRS endpoint
+    ant runJAXRS
 
 
 To stop the example hit ctrl + c

Modified: camel/trunk/examples/camel-example-cxf/build.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/build.xml?rev=830911&r1=830910&r2=830911&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/build.xml (original)
+++ camel/trunk/examples/camel-example-cxf/build.xml Thu Oct 29 12:18:43 2009
@@ -78,6 +78,11 @@
                description="Compile and run the sample of web sevice provider">
                <camelrun 
mainClass="org.apache.camel.example.cxf.provider.CamelCxfExample" />
        </target>
+       
+       <target name="runJAXRS" depends="generate.code,build"
+               description="Compile and run the sample of camel jaxrs ">
+               <camelrun 
mainClass="org.apache.camel.example.cxf.jaxrs.CamelRouterBuilder" />
+     </target>
 
        <available property="wsdl.dir" value="${build.resources.dir}/wsdl" 
file="${build.resources.dir}/wsdl" />
        <property name="wsdl.dir" location="."/>

Modified: camel/trunk/examples/camel-example-cxf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/pom.xml?rev=830911&r1=830910&r2=830911&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/pom.xml (original)
+++ camel/trunk/examples/camel-example-cxf/pom.xml Thu Oct 29 12:18:43 2009
@@ -127,6 +127,13 @@
                        
<target.main.class>org.apache.camel.example.cxf.provider.CamelCxfExample</target.main.class>
                </properties>
        </profile>
+       <profile>
+               <id>JAXRS</id>
+               <properties>
+                       <!-- Starting the camel-cxf example of JAXRS -->
+                       
<target.main.class>org.apache.camel.example.cxf.jaxrs.CamelRouterBuilder</target.main.class>
+               </properties>
+       </profile>      
   </profiles>
 
   <build>


Reply via email to