You need to tell the resolver which platform you want to resolve for.
Obviously the resolver should reject this bundle when you are
resolving for (say) MacOS, since there is no native code entry for
that platform (unless you add the trailing wild-card, naturally). You
can achieve this by setting the -runsystemcapabilities header. For
example to resolve for Win32/x86 set the following in your bndrun:
-runsystemcapabilities: osgi.native; osgi.native.osname=Win32;
osgi.native.processor=x86
Alternatively if you want to resolve for the same platform that you
are currently running Bndtools on, use the ${native_capability} macro:
-runsystemcapabilities: ${native_capability}
Regards
Neil
> --
> You received this message because you are subscribed to the Google Groups
> "bndtools-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
bndtools-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>