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 17:19 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 253
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 05:17 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2249
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: Sun Sep 21 06:09:39 GMT 2014

Powered by FUDForum. Page generated in 0.03910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software