|Unloading an XSDResource [message #580936]
||Fri, 21 November 2003 20:32
| Lance Phillips
Registered: July 2009
We have a ResourceSet that has both XsdResources and XmiResources.
Those resources represent the IResources of an IProject in the Workspace.
Upon deletion of an IResource with an underlying EmfResource, we want to
cleanup the EmfResource and remove it from the ResourceSet. That seems to
work fine for the XmiResources by simply doing a resource.unload() and then
a resourceSet.getResources().remove(resource). However, in the case of the
XsdResource, the unload seems to take several minutes. Is there a better
procedure to ensure everything gets cleaned up correctly?
Powered by FUDForum
. Page generated in 0.01844 seconds