You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2010/10/12 19:40:43 UTC

Re: svn commit: r1021669 - in /camel/trunk/examples/camel-example-cxf-proxy: README.txt pom.xml src/main/webapp/

Damn Willem you broke the example by deleting the src/main/webapp.

Please do a mvn clean install before doing changes like this.


On Tue, Oct 12, 2010 at 10:28 AM,  <ni...@apache.org> wrote:
> Author: ningjiang
> Date: Tue Oct 12 08:28:44 2010
> New Revision: 1021669
>
> URL: http://svn.apache.org/viewvc?rev=1021669&view=rev
> Log:
> CAMEL-3221 Using camel:run the run the example, as we don't using the servlet transport here
>
> Removed:
>    camel/trunk/examples/camel-example-cxf-proxy/src/main/webapp/
> Modified:
>    camel/trunk/examples/camel-example-cxf-proxy/README.txt
>    camel/trunk/examples/camel-example-cxf-proxy/pom.xml
>
> Modified: camel/trunk/examples/camel-example-cxf-proxy/README.txt
> URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-proxy/README.txt?rev=1021669&r1=1021668&r2=1021669&view=diff
> ==============================================================================
> --- camel/trunk/examples/camel-example-cxf-proxy/README.txt (original)
> +++ camel/trunk/examples/camel-example-cxf-proxy/README.txt Tue Oct 12 08:28:44 2010
> @@ -10,7 +10,7 @@ You will need to compile this example fi
>   mvn compile
>
>  To run the example type
> -  mvn jetty:run
> +  mvn camel:run
>
>  The proxied webservice is located at
>   http://localhost:9080/camel-example-cxf-proxy/webservices/incident
>
> Modified: camel/trunk/examples/camel-example-cxf-proxy/pom.xml
> URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-proxy/pom.xml?rev=1021669&r1=1021668&r2=1021669&view=diff
> ==============================================================================
> --- camel/trunk/examples/camel-example-cxf-proxy/pom.xml (original)
> +++ camel/trunk/examples/camel-example-cxf-proxy/pom.xml Tue Oct 12 08:28:44 2010
> @@ -133,13 +133,15 @@
>                 </executions>
>             </plugin>
>
> -            <!-- so we can run mvn jetty:run -->
>             <plugin>
> -                <groupId>org.mortbay.jetty</groupId>
> -                <artifactId>jetty-maven-plugin</artifactId>
> -                <version>${jetty-version}</version>
> -            </plugin>
> -
> +                               <groupId>org.apache.camel</groupId>
> +                               <artifactId>camel-maven-plugin</artifactId>
> +                               <version>${project.version}</version>
> +                               <configuration>
> +                                  <applicationContextUri>camel-config.xml</applicationContextUri>
> +                               </configuration>
> +                       </plugin>
> +
>         </plugins>
>     </build>
>  </project>
>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: svn commit: r1021669 - in /camel/trunk/examples/camel-example-cxf-proxy: README.txt pom.xml src/main/webapp/

Posted by Willem Jiang <wi...@gmail.com>.
Sorry, I only tried the camel:run without the mvn clean install.
Will do it next time.

Willem

On 10/13/10 1:40 AM, Claus Ibsen wrote:
> Damn Willem you broke the example by deleting the src/main/webapp.
>
> Please do a mvn clean install before doing changes like this.
>
>
> On Tue, Oct 12, 2010 at 10:28 AM,<ni...@apache.org>  wrote:
>> Author: ningjiang
>> Date: Tue Oct 12 08:28:44 2010
>> New Revision: 1021669
>>
>> URL: http://svn.apache.org/viewvc?rev=1021669&view=rev
>> Log:
>> CAMEL-3221 Using camel:run the run the example, as we don't using the servlet transport here
>>
>> Removed:
>>     camel/trunk/examples/camel-example-cxf-proxy/src/main/webapp/
>> Modified:
>>     camel/trunk/examples/camel-example-cxf-proxy/README.txt
>>     camel/trunk/examples/camel-example-cxf-proxy/pom.xml
>>
>> Modified: camel/trunk/examples/camel-example-cxf-proxy/README.txt
>> URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-proxy/README.txt?rev=1021669&r1=1021668&r2=1021669&view=diff
>> ==============================================================================
>> --- camel/trunk/examples/camel-example-cxf-proxy/README.txt (original)
>> +++ camel/trunk/examples/camel-example-cxf-proxy/README.txt Tue Oct 12 08:28:44 2010
>> @@ -10,7 +10,7 @@ You will need to compile this example fi
>>    mvn compile
>>
>>   To run the example type
>> -  mvn jetty:run
>> +  mvn camel:run
>>
>>   The proxied webservice is located at
>>    http://localhost:9080/camel-example-cxf-proxy/webservices/incident
>>
>> Modified: camel/trunk/examples/camel-example-cxf-proxy/pom.xml
>> URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-proxy/pom.xml?rev=1021669&r1=1021668&r2=1021669&view=diff
>> ==============================================================================
>> --- camel/trunk/examples/camel-example-cxf-proxy/pom.xml (original)
>> +++ camel/trunk/examples/camel-example-cxf-proxy/pom.xml Tue Oct 12 08:28:44 2010
>> @@ -133,13 +133,15 @@
>>                  </executions>
>>              </plugin>
>>
>> -<!-- so we can run mvn jetty:run -->
>>              <plugin>
>> -<groupId>org.mortbay.jetty</groupId>
>> -<artifactId>jetty-maven-plugin</artifactId>
>> -<version>${jetty-version}</version>
>> -</plugin>
>> -
>> +<groupId>org.apache.camel</groupId>
>> +<artifactId>camel-maven-plugin</artifactId>
>> +<version>${project.version}</version>
>> +<configuration>
>> +<applicationContextUri>camel-config.xml</applicationContextUri>
>> +</configuration>
>> +</plugin>
>> +
>>          </plugins>
>>      </build>
>>   </project>
>>
>>
>>
>
>
>