[
https://issues.apache.org/jira/browse/CAMEL-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544623#comment-13544623
]
Claus Ibsen commented on CAMEL-5217:
------------------------------------
The code is in trunk. There is a getBundleFilter method you can override and
return what you want. For example that ! eclipse stuff.
The default filter is just
public static final String BUNDLE_FILTER = "(Bundle-SymbolicName=*)";
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Labels: patch
> Fix For: 2.10.0
>
> Attachments: patch.txt, 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
For more information on JIRA, see: http://www.atlassian.com/software/jira