# Augment SWT Bundle for the resolver

**URL:** <https://bnd.discourse.group/t/augment-swt-bundle-for-the-resolver/268>\
**Category:** GENERAL\
**Created:** [November 4, 2022, 11:29am UTC](https://bnd.discourse.group/t/augment-swt-bundle-for-the-resolver/268 "2022-11-04T11:29:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juergen-albert](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/juergen-albert/32/20_2.png) [@juergen-albert](https://bnd.discourse.group/u/juergen-albert)\
**Post date:** [November 4, 2022, 11:29am UTC](https://bnd.discourse.group/t/augment-swt-bundle-for-the-resolver/268/1 "2022-11-04T11:29:56Z")

</div>

I have the following augment Instuction in my bndrun:

```auto
-augment.swt = \
	org.eclipse.swt; \
		capability:='osgi.wiring.package;osgi.wiring.package=org.eclipse.swt.internal'

```

The goal ist to prevent the resolver from always resolving the system specific fragments for swt. When I add this, the resolver result always contains the swt fragments and if I dive in, I can see that it adds it because `filter:=(osgi.wiring.package=org.eclipse.swt.internal)` causes it to do so. There is a bundle org.eclipse.swt.

Do I have some syntax error or am I going about this the wrong way?

---

<div class="post-metadata">

**Author:** ![juergen-albert](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/juergen-albert/32/20_2.png) [@juergen-albert](https://bnd.discourse.group/u/juergen-albert)\
**Post date:** [November 4, 2022, 12:57pm UTC](https://bnd.discourse.group/t/augment-swt-bundle-for-the-resolver/268/2 "2022-11-04T12:57:47Z")

</div>

Okay. It works as expected and it was just my own stupidity. I picked exactly the one package that is already exported by the swt bundle.
