| Summary: | "Couldn't resolve reference to Grammar 'org.eclipse.xtext.common.Terminals'" when creating example project | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Bo Gundersen <bo.gundersen> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | alopecoid, sebastian.zarnekow, sven.efftinge |
| Version: | 1.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Bo Gundersen
That is because Xtext relies on PDE (use the RCP package or install PDE). *** This bug has been marked as a duplicate of bug 317301 *** Just to avoid any missunderstandings: Only the Xtext Grammar development integration relies on PDE and only because we use PDE to declare and resolve referenced jars. You could also add the required jars manually to you project and you'll be fine. *** Bug 317765 has been marked as a duplicate of this bug. *** see also bug 317301 Confirmed, installing PDF and recreating the projects worked. Thank you for the quick response. Can someone please explain, step-by-step how I can fix this? For example, I don't know what "PDE" is. I search for it in the "Eclipse Marketplace", but nothing relevant seems to be returned. When I Google for it, I land on this page: http://www.eclipse.org/pde/downloads/ Which just says "PDE ships with the Eclipse SDK and can be downloaded from the Eclipse project downloads page." Well, if that were true, then wouldn't I have it already? Could you please tell me what I can search for, or what the exact update link is? I think that most users would prefer not to have to hunt around for these things or become intimate with the Eclipse ecosystem, especially for something that is being touted as a major new feature of Eclipse 3.6 (Xtext), yet it doesn't work out-of-the-box. Thank you. (In reply to comment #6) > Can someone please explain, step-by-step how I can fix this? The marketplace does not seem to be that helpful if one has ne clue about the right search-phrase :-( Please Go to the "Install New Software" menu in Eclipse (Help -> Install New Software), choose the Helios Update Site (http://download.eclipse.org/releases/helios) from the drop down list and filter the availble components for "Plug-in". Choose Eclipse Plug-in Development Environment (PDE) and hit Finish. (In reply to comment #7) > (In reply to comment #6) > > Can someone please explain, step-by-step how I can fix this? > > The marketplace does not seem to be that helpful if one has ne clue about the > right search-phrase :-( > > Please Go to the "Install New Software" menu in Eclipse (Help -> Install New > Software), choose the Helios Update Site > (http://download.eclipse.org/releases/helios) from the drop down list and > filter the availble components for "Plug-in". Choose Eclipse Plug-in > Development Environment (PDE) and hit Finish. Thank you. This resolved all errors across the 3 generated projects (after doing a Project -> Clean -> All). Only 3 warnings remained (one for each of the 3 generated projects): The file "plugin.xml" does not exist in the workspace build.properties This was fixed easily by removing the build.xml reference from each of the build.properties files. Could PDE be added as a dependency of Xtext so that Xtext installations are usable out-of-the-box Also, perhaps the aforementioned warnings should be fixed so that users can have a smoother experience when creating their first project. Thank you. |