Currently there is a workspace listener registers who tries to register all
found ecore files inside the package registry so they are available for
referencing their elements inside the Spray DSL. But for some ecore files on
the classpath there is no genmodel provided (or its placed somewhere else). For
these cases always error messages are logged like:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.ocl/model/OCLCST.genmodel, 12, 92)
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.ocl/model/OCL.genmodel, 12, 75)
java.io.FileNotFoundException: /model/extended.genmodel
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.ocl/model/OCL.genmodel, 12, 75)
java.io.FileNotFoundException: /model/Xpect.genmodel
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel, 13, 59)
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.uml2.types/model/Types.genmodel, 8, 32)
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.ocl.uml/model/OCLUML.genmodel, 11, 57)
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel, 13, 59)
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
'http://www.eclipse.org/uml2/2.2.0/GenModel' not found.
(platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel, 13, 59)
java.io.FileNotFoundException: /model/extended.genmodel
259440 [Worker-3] ERROR org.eclipselabs.spray.xtext.scoping.PackageSelector -
No genmodel found for package URI
http://www.eclipse.org/emf/eef/mapping/filters/1.0.0. If you are running in
stanalone mode make sure register the genmodel file.
The listener should be made that intelligent to only try to register those
ecore files that are contained in plug-in project that is made a dependency of
the Spray project. All other files should be ignored.
Original issue reported on code.google.com by de.abg.r...@gmail.com on 1 Sep 2013 at 9:04
Original issue reported on code.google.com by
de.abg.r...@gmail.com
on 1 Sep 2013 at 9:04