Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-20 Thread lb
Hi, now I've got the same problem if I run the same test case in Itellij IDEA, how can I configure my IDE to properly run the test? To set-up the project I've used IDEA's import-project feature. Thx On Tue, Nov 12, 2013 at 3:21 AM, Willem jiang willem.ji...@gmail.comwrote: There some magic

Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-20 Thread Babak Vahdat
Hi I myself make use of eclipse but remember one of my collegues working for the same project having problem to run the same test which used to pass for me using eclipse but not for him with IntelliJ. After some digging I found out that the problem was the directory from where IntelliJ used to

Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-20 Thread lb
Hi Babak, no same result On Wed, Nov 20, 2013 at 8:11 PM, Babak Vahdat babak.vah...@swissonline.chwrote: Hi I myself make use of eclipse but remember one of my collegues working for the same project having problem to run the same test which used to pass for me using eclipse but not for him

Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-11 Thread lb
It works if I run the test (after clean install) from the camel-bindy subproject, I does not if I test it from the root, is that expected? On Mon, Nov 11, 2013 at 2:05 AM, Willem jiang willem.ji...@gmail.comwrote: Hi, I’m not sure if you ran the test after you started the whole build. It

Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-11 Thread Willem jiang
There some magic happens when you use the maven bundle plugin to build the bundle. The bundle plugin generates the OSGi bundle which is based on the packages import and export description and class path. If you just run the test from the root, the bundle plugin doesn’t have a chance to be

testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-10 Thread lb
Hi, I'm trying to execute a single test in camel main (github) and the test fails because of a ClassNotFoundException: org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean. Here the command i use: [luca@juniper apache-camel]# mvn -Dtest=*BindyComplexCsvUnmarshallTest* test ... Tests in

Re: testing camel : ClassNotFoundException - org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

2013-11-10 Thread Willem jiang
Hi, I’m not sure if you ran the test after you started the whole build. It looks like the bundle plugin wasn’t called. I suggest you to run “mvm clean install -Dtest=false” from the root and then run the test. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: