Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho multi-platform build problem

Hi all,
I’m quite new in using Tycho but I’m don’t know how to get out of this problem.
 
I have a rcp application multi platform.
It perfectly works under eclipse and using the delta pack I can export my application in 32 and 64 bit (I’m using the latest ecliplse release 4.3).
 
One of my plugins include two plugins each one optional
 
Require-Bundle: org.eclipse.core.runtime,
com.xxx.jacorb.orb;visibility:=reexport,
com.xxx.model;visibility:=reexport,
com.xxx.repositorycfg.x86_64;resolution:=optional;visibility:=reexport
com.xxx.repositorycfg.x86;resolution:=optional;visibility:=reexport
 
 
the last two are specific for 32 and 64 bit platform.
 
I have specified in the eclipse plugin the filter correctly (ie. Eclipse-PlatformFilter: (&  (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86_64))) and I can export my application fine from eclipse.
 
But when I try to build it using tycho there is no way, I always get the following error (like it is trying to resolve 64 platform with 32 library)
 
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86_64, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.xxx.commonservices.core 6.0.0.qualifier
[ERROR]   Missing requirement: com.xxx.commonservices.core 6.0.0.qualifier requires 'bundle com.xxx.repositorycfg.x86
0.0.0' but it could not be found
 
 
what am I doing wrong?
 
if did try to remove the x86 dependecy from the main plugin and clearly it works fine.
 
regards
carmelo
 

Back to the top