Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340451 - [Xbase] Check and Quickfix if libs are missing on the classpath.
Summary: [Xbase] Check and Quickfix if libs are missing on the classpath.
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M4   Edit
Assignee: Jan Koehnlein CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 347691 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-18 11:58 EDT by Christian Dietrich CLA
Modified: 2017-09-19 17:48 EDT (History)
3 users (show)

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dietrich CLA 2011-03-18 11:58:54 EDT
When i work with a Project that uses Xbase or Xtend2 (e.g. editing .xtend files or working with . dmodel files) i have to place my models in a (plugin) project where org.eclipse.xtext.xbase.lib and/or  org.eclipse.xtext.xtend2.lib are on the classpath. 

when i am creating xtend files i get at least a hint that these are missing. when creating a .dmodel file i get no hints at all and something like

if (1 < 2) {}

does not work due the missing < operator.

what are the plans to make this a bit more suitable for the enduser e.g. when i want to work with a plain java project.

~Christian
Comment 1 Sven Efftinge CLA 2011-03-18 12:44:56 EDT
We should have a validation error which indicates that the Xbase lib is not on the project's classpath.
A quickfix should allow users to easily add it.
Comment 2 Sebastian Zarnekow CLA 2011-05-30 16:01:16 EDT
*** Bug 347691 has been marked as a duplicate of this bug. ***
Comment 3 Sven Efftinge CLA 2011-11-21 06:44:36 EST
We have the compile check for some time now. For 2.2 Dennis already introduced a library. 
A quick fix should also be done for 2.2.
Comment 4 Jan Koehnlein CLA 2011-11-30 12:47:02 EST
First shot pushed to master
Comment 5 Jan Koehnlein CLA 2011-12-01 03:58:13 EST
Simplified and pushed to MASTER.
Comment 6 Karsten Thoms CLA 2017-09-19 17:37:37 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 7 Karsten Thoms CLA 2017-09-19 17:48:39 EDT
Closing all bugs that were set to RESOLVED before Neon.0