[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.higgins] Re: Problem Running Demo App and Saving Context
|
Hey Paul,
I think I fixed my runtime errors with the following modifications to
org.eclipse.higgins.context.store.ProjectFolder.java, but I don't know if
they have side-effects since I'm still pretty new to EMF and Eclipe RCP.
in preSave(), added line:
rs.getResourceFactoryRegistry().getExtensionToFactoryMap().put(
"xml",new XMLResourceFactoryImpl());
in associateResource(), changed:
URI fileURI =
URI.createPlatformResourceURI(ifile.getFullPath().toString());
to:
URI fileURI = URI.createFileURI(ifile.getFullPath().toString());
Also, I had to include a few more required plugins in "Higgins Demo App
1.launch" and "Higgins Demo App 2.launch" to get the demos runing.
Let me know what you think about the above changes. I think you didn't use
createFileURI() for a reason.
Regards,
Simon