Hi,
eclipse.buildId=I20130204-1400
java.version=1.6.0_41
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.modeling.product
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.modeling.product -clean
When I try to use the drag'n'drop mechanism for loading a Complete OCL resource, this results in a resource exception, because the file doesn't exist.
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.core.internal.resources.ResourceException: Resource '/Users/kgad/Workspaces/kepler-M5/be.fmtc.ocl.tests/model/components.ocl' does not exist.
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
at org.eclipse.ocl.examples.xtext.completeocl.ui.commands.LoadCompleteOCLResourceHandler$ResourceDialog.loadCSResource(LoadCompleteOCLResourceHandler.java:195)
at org.eclipse.ocl.examples.xtext.completeocl.ui.commands.LoadCompleteOCLResourceHandler$ResourceDialog.processResources(LoadCompleteOCLResourceHandler.java:298)
at org.eclipse.emf.common.ui.dialogs.ResourceDialog.okPressed(ResourceDialog.java:372)
[...]
However, it does exist
$ ls /Users/kgad/Workspaces/kepler-M5/be.fmtc.ocl.tests/model/components.ocl
/Users/kgad/Workspaces/kepler-M5/be.fmtc.ocl.tests/model/components.ocl
And when I use the "browse workspace" button everything works fine.
I'm pretty sure this is a bug, but I'm not sure whether it's an MDT/OCL bug though?