| Summary: | StandaloneSetup.scanClassPath does not configure platform:/plugin | ||
|---|---|---|---|
| Product: | [Modeling] EMFT | Reporter: | Ed Willink <ed> |
| Component: | MWE | Assignee: | Project Inbox <emft-mwe-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
NB. platform:/plugin rather than platform:/resource is the EMF way to refer to models expected to be in plugins. See UML.genmodel, UML.ecore, OCLEcore.genmodel or OCL.ecore all of which emanate from the original IBM teams. |
When building an Xtext editor that uses JVM types, the corresponding manual genmodel may refer to usedGenPackages="platform:/plugin/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel#//types" which requires help to resolve outside Eclipse. StandaloneSetup.scanClassPath may be used to install plugins as platform:/resource, but a uriMap must be added to make the platform:/plugin name work. [This may be because the corresponding EcorePlugin code requires a non-null workspaceRoot.] I guess that MWE needs to just install both names.