Jean-Baptiste Defard created CAMEL-5217:
-------------------------------------------

             Summary: Bundle filter configuration in CamelBlueprintTestSupport
                 Key: CAMEL-5217
                 URL: https://issues.apache.org/jira/browse/CAMEL-5217
             Project: Camel
          Issue Type: Improvement
          Components: camel-test
    Affects Versions: 2.10.0
         Environment: Maven 3, Eclipse
            Reporter: Jean-Baptiste Defard
            Priority: Minor
             Fix For: 2.10.0
         Attachments: patch.txt

I am experimenting a problem with  CamelBlueprintTestSupport for unit test OSGI 
blueprint bundle. With the last version in the trunk, i can't modify the bundle 
descriptor filter. Under Eclipse, i have an BundleException when i try to load 
JUnit, caused by: java.lang.NoClassDefFoundError: 
org/eclipse/core/runtime/Plugin.

With a modification of filter expression:     

    protected String getBundleFilter()
    {
        return 
"(&(Bundle-SymbolicName=*)(!(Bundle-SymbolicName=org.eclipse.jdt.junit*)))";

    }

all work fine again.
Patch for CamelBluePrintTestSupport and CamelBlueprintHelper attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to