stempler / bnd-platform

Build OSGi bundles and Eclipse Update Sites from existing JARs, e.g. from Maven repositories (Plugin for Gradle)
Apache License 2.0
79 stars 30 forks source link

extracting ws/os/arch from platform filter fails #121

Closed urferr closed 3 months ago

urferr commented 3 months ago

if i define in the bnd section an instruction ith a platform filter like instruction 'Eclipse-PlatformFilter', "(& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86_64))" then the build fails.

The reason is that in both files parsing the platform filter by regular expression it is first checked if a platform filter has been defined but for the regular expression there is not this variable used which has been checked but the value from the jarInfo which may be null.