Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tycho » The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from require(Error about missing requirenments in tycho)
The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from require [message #973854] Tue, 06 November 2012 12:19 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 250
Registered: July 2012
Senior Member
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(https://issues.sonatype.org/browse/TYCHO-400)

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:
http://wiki.eclipse.org/Tycho/FAQ

Anyway, during compilation the error occurs again.

Question:
Do someone have any Idea, how to solve this Problem?
Re: The type org.eclipse.swt.widgets.Button cannot be resolved. It is indirectly referenced from req [message #987037 is a reply to message #973854] Fri, 23 November 2012 00:17 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2233
Registered: July 2009
Senior Member
This web forum is closed and not monitored. See the Announcement message at the top of the forum page.
Previous Topic:Create feature including sources
Next Topic:Forum Closure
Goto Forum:
  


Current Time: Fri Aug 29 01:30:20 EDT 2014

Powered by FUDForum. Page generated in 0.03911 seconds