Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » cross reference via classpath rather than project
cross reference via classpath rather than project [message #913382] Sat, 15 September 2012 12:59 Go to next message
Oliver Zhou is currently offline Oliver ZhouFriend
Messages: 41
Registered: February 2012
Member
Hi,

I created a dsl using xtext with nel extension, and then I create two projects, each project has a nel file. Let's say project2 depends on project1, and nel file in project2 will reference something defined in nel file in project1.

If I open project1 in my workspace, everything is fine. However, if I create a jar for project1, close project1, put that jar on the build path of project2. My xtext editor will complain that reference cannot be resolved.

Please advise.

Re: cross reference via classpath rather than project [message #921705 is a reply to message #913382] Mon, 24 September 2012 11:05 Go to previous message
Thomas Hergenröder is currently offline Thomas HergenröderFriend
Messages: 22
Registered: February 2012
Junior Member
In the Build-Path-window there is a Tab Oder And Export.
Try moving the jar upwards.
That helped me in a similar instance.
Previous Topic:Unit testing validation errors
Next Topic:Marker translated to Annotation
Goto Forum:
  


Current Time: Thu Nov 27 18:38:39 GMT 2014

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

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