Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Cross-platform builds with buckminster 4.3(cross platform components cannot be resolved)
Cross-platform builds with buckminster 4.3 [message #1236844] Tue, 28 January 2014 07:50 Go to next message
Felix Feisst is currently offline Felix FeisstFriend
Messages: 20
Registered: February 2012
Location: Germany
Junior Member
I recently switched from buckminster 3.7 to buckminster 4.3.

I'm building a product for several platforms with buckminster. Therefore I have the following dependencies in my feature.xml:

   <plugin
         id="org.eclipse.swt.win32.win32.x86"
         os="win32"
         ws="win32"
         arch="x86"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>

   <plugin
         id="org.eclipse.swt.win32.win32.x86_64"
         os="win32"
         ws="win32"
         arch="x86_64"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>

   <plugin
         id="org.eclipse.swt.gtk.linux.x86"
         os="linux"
         ws="gtk"
         arch="x86"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>

   <plugin
         id="org.eclipse.swt.gtk.linux.x86_64"
         os="linux"
         ws="gtk"
         arch="x86_64"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>

   <plugin
         id="org.eclipse.swt.cocoa.macosx"
         os="macosx"
         ws="cocoa"
         arch="x86"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>

   <plugin
         id="org.eclipse.swt.cocoa.macosx.x86_64"
         os="macosx"
         ws="cocoa"
         arch="x86_64"
         download-size="0"
         install-size="0"
         version="0.0.0"
         fragment="true"
         unpack="false"/>


When doing a buckminster import the following error occurrs:
[INFO] ERROR   [0002] : No suitable provider for component org.eclipse.swt.win32.win32.x86:osgi.bundle(&(target.arch=x86)(target.os=win32)(target.ws=win32)) was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
[INFO]   ERROR   [0002] : No suitable provider for component org.eclipse.swt.win32.win32.x86:osgi.bundle(&(target.arch=x86)(target.os=win32)(target.ws=win32)) was found in searchPath rcptarget
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86)(target.os=win32)(target.ws=win32)) does not match the current property set
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86)(target.os=win32)(target.ws=win32)) does not match the current property set
[INFO] ERROR   [0002] : No suitable provider for component org.eclipse.swt.cocoa.macosx:osgi.bundle(&(target.arch=x86)(target.os=macosx)(target.ws=cocoa)) was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
[INFO]   ERROR   [0002] : No suitable provider for component org.eclipse.swt.cocoa.macosx:osgi.bundle(&(target.arch=x86)(target.os=macosx)(target.ws=cocoa)) was found in searchPath rcptarget
[INFO]     ERROR   [0002] : Filter (&(target.os=macosx)(target.ws=cocoa)(|(target.arch=ppc)(target.arch=x86))) does not match the current property set
[INFO]     ERROR   [0002] : Filter (&(target.os=macosx)(target.ws=cocoa)(|(target.arch=ppc)(target.arch=x86))) does not match the current property set
[INFO] ERROR   [0002] : No suitable provider for component org.eclipse.swt.gtk.linux.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
[INFO]   ERROR   [0002] : No suitable provider for component org.eclipse.swt.gtk.linux.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) was found in searchPath rcptarget
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) does not match the current property set
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) does not match the current property set
[INFO] ERROR   [0002] : No suitable provider for component org.eclipse.swt.cocoa.macosx.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
[INFO]   ERROR   [0002] : No suitable provider for component org.eclipse.swt.cocoa.macosx.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) was found in searchPath rcptarget
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) does not match the current property set
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) does not match the current property set
[INFO] ERROR   [0002] : No suitable provider for component org.eclipse.swt.win32.win32.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
[INFO]   ERROR   [0002] : No suitable provider for component org.eclipse.swt.win32.win32.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) was found in searchPath rcptarget
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) does not match the current property set
[INFO]     ERROR   [0002] : Filter (&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) does not match the current property set
[INFO] INFO:  TAG-ID 0002 = Query for de.patronas.opus.client.rcp.build:eclipse.feature, path: de.patronas.opus.client.rcp.build:eclipse.feature$1.0.1.qualifier


Note that I'm building on gtk linux x86, only the cross-platform components are unresolvable. Using buckminster 3.7, everything is working.

Any help is appreciated.
Felix
Re: Cross-platform builds with buckminster 4.3 [message #1236868 is a reply to message #1236844] Tue, 28 January 2014 09:06 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 28/01/2014 08:50, Felix Feisst wrote:
> I recently switched from buckminster 3.7 to buckminster 4.3.
>
> I'm building a product for several platforms with buckminster. Therefore
> I have the following dependencies in my feature.xml:
>
>
> <plugin
> id="org.eclipse.swt.win32.win32.x86"
> os="win32"
> ws="win32"
> arch="x86"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.swt.win32.win32.x86_64"
> os="win32"
> ws="win32"
> arch="x86_64"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.swt.gtk.linux.x86"
> os="linux"
> ws="gtk"
> arch="x86"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.swt.gtk.linux.x86_64"
> os="linux"
> ws="gtk"
> arch="x86_64"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.swt.cocoa.macosx"
> os="macosx"
> ws="cocoa"
> arch="x86"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.swt.cocoa.macosx.x86_64"
> os="macosx"
> ws="cocoa"
> arch="x86_64"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
>
> When doing a buckminster import the following error occurrs:
>
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.win32.win32.x86:osgi.bundle(&(target.arch=x86)(target.os=win32)(target.ws=win32))
> was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.win32.win32.x86:osgi.bundle(&(target.arch=x86)(target.os=win32)(target.ws=win32))
> was found in searchPath rcptarget
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86)(target.os=win32)(target.ws=win32)) does not match
> the current property set
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86)(target.os=win32)(target.ws=win32)) does not match
> the current property set
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.cocoa.macosx:osgi.bundle(&(target.arch=x86)(target.os=macosx)(target.ws=cocoa))
> was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.cocoa.macosx:osgi.bundle(&(target.arch=x86)(target.os=macosx)(target.ws=cocoa))
> was found in searchPath rcptarget
> [INFO] ERROR [0002] : Filter
> (&(target.os=macosx)(target.ws=cocoa)(|(target.arch=ppc)(target.arch=x86)))
> does not match the current property set
> [INFO] ERROR [0002] : Filter
> (&(target.os=macosx)(target.ws=cocoa)(|(target.arch=ppc)(target.arch=x86)))
> does not match the current property set
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.gtk.linux.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=linux)(target.ws=gtk))
> was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.gtk.linux.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=linux)(target.ws=gtk))
> was found in searchPath rcptarget
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) does not match
> the current property set
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=linux)(target.ws=gtk)) does not match
> the current property set
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.cocoa.macosx.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa))
> was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.cocoa.macosx.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa))
> was found in searchPath rcptarget
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) does not
> match the current property set
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=macosx)(target.ws=cocoa)) does not
> match the current property set
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.win32.win32.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=win32)(target.ws=win32))
> was found in resourceMap file:/home/user/rcp/build/buckminster.rmap
> [INFO] ERROR [0002] : No suitable provider for component
> org.eclipse.swt.win32.win32.x86_64:osgi.bundle(&(target.arch=x86_64)(target.os=win32)(target.ws=win32))
> was found in searchPath rcptarget
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) does not match
> the current property set
> [INFO] ERROR [0002] : Filter
> (&(target.arch=x86_64)(target.os=win32)(target.ws=win32)) does not match
> the current property set
> [INFO] INFO: TAG-ID 0002 = Query for
> de.patronas.opus.client.rcp.build:eclipse.feature, path:
> de.patronas.opus.client.rcp.build:eclipse.feature$1.0.1.qualifier
>
>
> Note that I'm building on gtk linux x86, only the cross-platform
> components are unresolvable. Using buckminster 3.7, everything is working.
>
> Any help is appreciated.
> Felix

Hi Felix

when you perform the import, do you specify * for target.arch,
target.os, target.ws?

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Cross-platform builds with buckminster 4.3 [message #1236897 is a reply to message #1236868] Tue, 28 January 2014 10:22 Go to previous messageGo to next message
Felix Feisst is currently offline Felix FeisstFriend
Messages: 20
Registered: February 2012
Location: Germany
Junior Member
Yes, I call import with the following definitions:
import -D target.os=* -D target.ws=* -D target.arch=*
Re: Cross-platform builds with buckminster 4.3 [message #1236916 is a reply to message #1236897] Tue, 28 January 2014 11:36 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 28/01/2014 11:22, Felix Feisst wrote:
> Yes, I call import with the following definitions:
>
> import -D target.os=* -D target.ws=* -D target.arch=*
>

mh... so probably you just don't need to specify the fragments in your
feature.xml... including org.eclipse.rcp should be enough... can you
share the code?

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Executing plugIn unit tests with buckminster headless
Next Topic:Buckminster reporting skipped tests as failures?
Goto Forum:
  


Current Time: Thu Apr 25 04:54:58 GMT 2024

Powered by FUDForum. Page generated in 0.20908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top