the patch only use spring-osgi-test to do osgi environment testing, and doesn't use PAX-EXAM at all..
The only reason to do so is just because it's exhausted to debug in Eclipse IDE with PAX-EXAM. Because we must change the test case's code to add debug launch options for debugging.. ============================================================================ >Re: Hi,facility to debug the camel test case in eclipse with spring osgi framework Thanks for your contribution. I just have quick look at the spring-osgi module that you want to contribute. It looks like you are using boot-bundle.properties to load the bundles for Pax-Exam. If you take a look at camel-itest-osgi module[1], you will find we are using the features to load the bundles which are needed by test. It does the same thing that you want to do :) [1]https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi On 10/9/10 7:57 PM, ext2 wrote: > Sorry, the mail list will disable attachment, check the patch : > https://issues.apache.org/activemq/browse/CAMEL-3213 > ======================================================= > Hi: > To debug the camel test case in osgi framework with eclipse ide, > using PAX-EXAM is difficult than spring-osgi-test.But the spring-osgi will > loading some exhausted and expired bundles by default. Some bundles are > expired and hardly to find in the maven repository; > The attachment is a patch to refine the default loaded bundles by > spring-osgi-test, and also it support a CamelTestSupport-like interface to > write test case, so the already written test cases can easily changed to run > in spring osgi framework; > Hope it's useful to you > > > > > > > -- Willem ---------------------------------- Open Source Integration: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: http://twitter.com/willemjiang
