|Datapools and [message #49262]
||Thu, 05 January 2006 15:37
Originally posted by: peter.marshall3.vodafone.com|
I am trying to access a datapool from outside of the tptp project (but
from within an eclipse project).
Inside the class
line 256 an exception is thrown. The line reads :
Resource res = resourceSet.getResource(URI.createFileURI(dpAbsolutePath),
The exception is thrown from the getResource method, the URI method
executes correctly. The exception indicates that "A registered resource
factory is missing". I suspect that this is the factory for resources
with the extension
How do I get the datapool factory registered?
I have tried registering the common datapool factory as follows :
ResourceSet resourceSet = new
ResourceSetImpl(); resourceSet.getResourceFactoryRegistry().getExtensionToFacto ryMap().put( "datapool",
This doesnt solve the problem. Using the .INSTANCE for the global factory
registry doesnt fix the problem either.
tptp 4.0.0 / 4.0.1
hyades 4.0.0 / 4.0.1
emf 2.1.0 / 2.1.1
Thanks for any help.
Powered by FUDForum
. Page generated in 0.01585 seconds