So I don't think the *Support classes should be in
camel-core/src/main; they should stay in src/test so that camel-core
builds fine; but if other modules wanna reuse them and we don't want
to have folks reuse camel-core-test.jar we can copy them to
camel-hamcrest.

2008/7/2 Willem Jiang <[EMAIL PROTECTED]>:
> I see the recursive dependency, so I just upload a patch for *CAMEL-648
> </activemq/browse/CAMEL-648>*[1] by moving the *Support class into the main
> directory and removing the dependecy of camel-core and camel-spring test
> jars.
>
> Please review it.
>
> [1]https://issues.apache.org/activemq/browse/CAMEL-648
>
> Willem
>
> James Strachan wrote:
>>
>> 2008/7/2 Willem Jiang <[EMAIL PROTECTED]>:
>>
>>>
>>> We could set the scope to be test, it will not effect the compiling,
>>> testing
>>> and packaging.
>>> Any thought ?
>>>
>>
>> Am still thinking it might be a recursive dependency.
>>
>> Just stepping back a bit - whats the issue of camel-core-test.jar
>> being big? Longer term I hope we can migrate most camel modules to use
>> either spring-test or camel-hamcrest for testing and remove the
>> dependency on camel-core-test.jar. Its just a tad complicated for the
>> camel-core module due to circular dependencies (the *Support classes
>> depend on the camel-core APIs and need to be built before camel-core
>> can be tested etc); I wonder is it a biggie (since they are mostly
>> legacy classes anyway) to just copy them into camel-hamcrest - but
>> leave camel-core tests as it is?
>>
>>
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to