Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » [Fixed]Problem when i Unload a UML resource and reload it (there is some anytypes)
[Fixed]Problem when i Unload a UML resource and reload it [message #507414] Wed, 13 January 2010 12:23
Tristan Faure is currently offline Tristan FaureFriend
Messages: 227
Registered: July 2009
Senior Member
Hi
first i load an UML resource, the contents list contains Model, Package, Class ....
I unload it okay contents list is empty
i load it again
with
Resource.load method
ResourceSet.getResource(uri,boolean) method

and at each time i have any types instead of packages...

it seems an exception occured types : XniException but i'm not sure as i don't have full sources in my workspace

do you have any idea ?

edit 1 : after some code analysis in method XMLHandler.getPackageForURI(String) the code ePackage.eIsProxy() returns true, I don't understand why :/

edit 2 : sorry actually i made in an unload method i unloaded Resource.Factory objets. Sorry

[Updated on: Wed, 13 January 2010 12:56]

Report message to a moderator

Previous Topic:generating metamodel extensions based on CacheAdapter
Next Topic:Problem when i Unload a UML resource and reload it
Goto Forum:
  


Current Time: Thu Nov 27 17:26:15 GMT 2014

Powered by FUDForum. Page generated in 0.02508 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software