Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho build fails when putting org.eclipse.ui.internal.decorators dependency in manifest

I think the difference in the presence of not of RAP bundles. In the first, no RAP bundles but SWT _ones_ ==> OK
I the second, RAP bundles but no SWT _ones_ ==> KO


On Mon, Jul 22, 2013 at 12:37 PM, Velde, Erik Vande [FGCB] <EvandeVelde@xxxxxxxx> wrote:



Last week our automatic tycho builds started failing with weird messages like the following:


[ERROR] C:\gwf\projects\svn\com.fugro.gwf\trunk\client_group\client\com.fugro.gwf.client.query\src\com\fugro\gwf\client\query\contentAssist\[28,0]

[ERROR] KeyStroke keyStroke = KeyStroke.getInstance(SWT.CTRL, SWT.SPACE);

[ERROR] ^^^^^

[ERROR] SPACE cannot be resolved or is not a field


[ERROR] C:\gwf\projects\svn\com.fugro.gwf\trunk\client_group\client\com.fugro.gwf.client.query\src\com\fugro\gwf\client\query\ui\[19,0]

[ERROR] import org.eclipse.jface.window.ToolTip;


After some further analysis it became clear that a  (unused!) org.eclipse.ui.internal.decorators dependency in our manifest was the culprit.

Somehow the dependency tree of the plugin is completely different when you add this dependency, and tycho doesn’t find some core swt and jface classes any more.

The attached files show the maven dependency tree with and without this dependency.

With the dependency there are many RAP related jars, and these important dependencies are missing:





The key question is: why does the org.eclipse.ui.internal.decorators dependency break our build ??


Kind regards,
Fugro GeoConsulting

Erik Vande Velde
Senior Software Coordinator

Telephone: +32 (0)2 77 60 034 / Fax: +32 (0)2 77 60 319
E-mail: EvandeVelde@xxxxxxxx / Website:
Address: Av. de Broqueville 12, 1150 Brussels, Belgium
VAT Nr: BE0418609636

tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top