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 08:59 Go to next message
Oliver Zhou is currently offline Oliver Zhou
Messages: 41
Registered: February 2012

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 07:05 Go to previous message
Thomas Hergenröder is currently offline Thomas Hergenröder
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: Fri Jul 25 21:16:53 EDT 2014

Powered by FUDForum. Page generated in 0.02582 seconds