Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » LUNA SR1, Xtext 2.7.2 Dependency Problem(Problem with dependencies in the UI project)
LUNA SR1, Xtext 2.7.2 Dependency Problem [message #1440490] Wed, 08 October 2014 12:38 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 15
Registered: June 2010
Junior Member
Hello,
I upgraded to Eclipse Luna and Xtext 2.7.2 today, and my existing UI project does not compile because it reports that org.eclipse.swt.graphics.Image is missing.
I tried creating the default Xtext project and generating it, here is what I get:
Description	Resource	Path	Location	Type
The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.swt.graphics.Image. Fix the build path then try building this project	org.xtext.example.mydsl.ui		Unknown	Java Problem
The type org.eclipse.swt.graphics.Image cannot be resolved. It is indirectly referenced from required .class files	AbstractMyDslProposalProvider.java	/org.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist	line 1	Java Problem

Running on Ubuntu, Eclipse 4.4.1.M20140925-0400, Xtext 2.7.2.v201409160908.
Thanks
Re: LUNA SR1, Xtext 2.7.2 Dependency Problem [message #1440568 is a reply to message #1440490] Wed, 08 October 2014 14:29 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Make sure org.eclipse.swt is part of your target platform and is resolvable.
I don't think your problem relates to Xtext.

Try to create a simple swt project and check if it compiles.



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: LUNA SR1, Xtext 2.7.2 Dependency Problem [message #1441118 is a reply to message #1440568] Thu, 09 October 2014 09:29 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 15
Registered: June 2010
Junior Member
Seems the problem emerged when migrating from Kepler to Luna. I had to ditch the old metadata of the workspace and recreate it from scratch to make it work.
Previous Topic:IndexOutOfBoundsException with USE_INDEXED_FRAGMENTS_BINDING = true
Next Topic:Dynamically switch separator in csv file when certain rule is encountered
Goto Forum:
  


Current Time: Fri Apr 19 23:40:44 GMT 2024

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

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

Back to the top