Community
Participate
Working Groups
The creation of the dawn gen model fails with a file not found exception. this happens for the *.genmodel as well as for the *.gmfgen Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: java.io.FileNotFoundException: C:\projects\systemize\newsvn\pmw\trunk\com.cmic.pmw.foundati on\model\Foundation.dawngenmodel pecified) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397) at org.eclipse.emf.cdo.dawn.codegen.actions.GenerateDawnGenMode lAction.getDawnGenModelResource(GenerateDawnGenModelAction.j ava:205) at org.eclipse.emf.cdo.dawn.codegen.actions.GenerateDawnGenMode lAction.access$3(GenerateDawnGenModelAction.java:201) at org.eclipse.emf.cdo.dawn.codegen.actions.GenerateDawnGenMode lAction$1.run(GenerateDawnGenModelAction.java:80) at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121) Caused by: java.io.FileNotFoundException: C:\projects\systemize\newsvn\pmw\trunk\com.cmic.pmw.foundati on\model\Foundation.dawngenmodel (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.creat eInputStream(FileURIHandlerImpl.java:105) at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1254) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270) ... 5 more
Created attachment 183091 [details] Patch v1 It turned out that the handling for not existing resource was not correct. The attached patch fixes the problem.
Created attachment 183092 [details] Patch v2 Optimized patch.
Patch v2 committed to HEAD.
Moving all open problem reports to 4.0
Closing.