| Summary: | If DS is not included in the launch config a warning should be issued | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Lars Vogel <Lars.Vogel> | ||||
| Component: | UI | Assignee: | Thomas Schindl <tom.schindl> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bokowski, cso, john.arthorne, kai.toedter, Lars.Vogel, ob1.eclipse, pwebster, remy.suen, tom.schindl | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Lars Vogel
This would definitely help! *** Bug 318838 has been marked as a duplicate of this bug. *** Created attachment 174134 [details]
patch
This patch simply checks for one of our core services which is contributed through DS (org.eclipse.e4.ui.workbench.modeling.EModelService) and throws an exception with a meaningful error message.
"Core services not available. Please check if a declarative service implementation like org.equinox.ds is in the launch configuration and all dependencies are resolved!"
A bit low-tech but it will work :-). I would change the error message a bit: - it's "org.eclipse.equinox.ds"; - "Please make sure that a declarative service implementation (such as the bundle "org.eclipse.equinox.ds") is available." (In my mind the "launch configuration" only applies to debugging.) +1. released with proposed rewording from oleg to head |