Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Error - The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from required .class file

Even if swt is platform dependant you just need to import the base swt bundle, al platform dependant fragments will be automatically added during resolution by tycho and it will fic you

Le 6 nov. 2012 18:14, <alexander.friesen@xxxxxxxxxxxxxx> a écrit :

Situation: I have an Eclipse RCP Application, which I am trying to build with tycho plugin for Eclipse. 
When I am executing my Eclipse Application inside of the IDe - the Application is executed normally. 
When using tycho to build the Application - the following error is thrown:



The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from required .class files

What I did : 
In other cases where a "missing requirenments" exception was thrown, which I found - a missing transitive plugin-dependency was the reason.

In my case an SWT widget "Button" is missing, so I am trying to import swt. SWT is platform dependant so I am importing swt inside of the product, as described here.

Anyway, during compilation the error occurs again.

Question: 
Do someone have any Idea, how to solve this Problem?


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


Back to the top