Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Optional dependencies can not be resolved

Ok. I have added the jars not the packages (do not know what was the reason).

Can you explain me what you mean with split-packages?





Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Benjamin Muskalla
Gesendet: Freitag, 16. März 2012 11:33
An: Tycho user list
Betreff: Re: [tycho-user] Optional dependencies can not be resolved


One thing to consider when single-sourcing is to use Import-Package instead of bundle dependencies as the packages in both runtimes are the same. Just be aware of split-packages in case you're working with workbench bundles.



On Fri, Mar 16, 2012 at 11:30 AM, Oliver Pfau <Oliver.Pfau@xxxxxxxxxxxx> wrote:


I think the problem for my build are the optional dependencies for single sourcing (RCP, RAP) bundles. For instance a single sourcing bundles requires org.eclipse.ui and org.eclipse.rap.ui both optional. This works with 0.12.0 but not with the higher version of tycho.

 I get erros that the swt/jface classes can not be resolved:
[ERROR] import org.eclipse.jface.action.MenuManager;
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.jface cannot be resolved


does not help.

Is there any other possiblity to change the optional dependencies resolution to get my build working with tycho 0.14.1?

tycho-user mailing list



Benjamin Muskalla

Software Engineer, Tasktop Sync

Committer, Eclipse Mylyn, Eclipse EGit


Back to the top