On Apr 8, 2013, at 7:13 AM, Babak Vahdat <babak.vah...@swissonline.ch> wrote:

> Hi
> 
> I've committed a fix for this, so please shout out if this causes any
> problems for your workspace/IDE.

This commit moves the generation of the test classes out of the 
generate-test-sources and into the generate-sources phase, which from a maven 
standpoint is technically wrong.

How are you pulling Camel into Eclipse?    m2e or using the 
maven-eclipse-plugin?  If using the latter, you should likely be using our 
-Psetup.eclipse profile that would run to the appropriate phase 
(process-test-sources) before calling the plugin.   (or do "mvn 
process-test-sources eclipse:eclipse")


Dan


> 
> Babak
> 
> 
> Babak Vahdat wrote
>> Hi
>> 
>> Using eclipse I've got some similar build problems as well by some modules
>> like camel-soap or camel-cxf where eclipse is not able to see any of the
>> Java sources being generated by cxf-codegen-plugin. I digged a bit into
>> this and came to the following commit:
>> 
>> http://svn.apache.org/viewvc?view=revision&revision=r1458383
>> 
>> As an example if I revert the following change of this commit then eclipse
>> is happy and camel-soap builds properly again:
>> 
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-soap/pom.xml?r1=1458383&r2=1458382&pathrev=1458383
>> 
>> Other way of fixing the compilation problem under eclipse for this module
>> is to add the following source folder *manually*:
>> 
>> camel/components/camel-soap/target/generated/src/test/java
>> 
>> And yes I was suspicious about my old 2011 eclipse installation could be
>> the root cause of this build problem, but upgrading to the newest version:
>> 
>>  Version: Juno Service Release 2
>>  Build id: 20130225-0426
>> 
>> didn't make any change.
>> 
>> Anybody else using eclipse having similar build problems on trunk?
>> 
>> Babak
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/IDEA-12-1-cannot-build-Apache-Camel-project-anymore-tp5730468p5730491.html
> Sent from the Camel Development mailing list archive at Nabble.com.

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to