Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354575

Summary: StandaloneSetup.scanClassPath does not configure platform:/plugin
Product: [Modeling] EMFT Reporter: Ed Willink <ed>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-08-12 01:00:31 EDT
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.
Comment 1 Ed Willink CLA 2011-08-12 01:14:09 EDT
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.