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

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.

Benny

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

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
...

<dependency-resolution>
       <optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>

does not help.

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

Regards,
Oliver
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Benjamin Muskalla
Software Engineer, Tasktop Sync
Committer, Eclipse Mylyn, Eclipse EGit


Back to the top