Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistency problem when copying resource contents #62

Closed
sunye opened this issue Jan 25, 2017 · 3 comments
Closed

inconsistency problem when copying resource contents #62

sunye opened this issue Jan 25, 2017 · 3 comments

Comments

@sunye
Copy link
Contributor

sunye commented Jan 25, 2017

When the contents of a normal resource are copied to a persistent one, using the following code:

targetResource.getContents().addAll(sourceResource.getContents());

The contents remain in both contents, causing inconsistency. It seems that the handshake is not treated correctly.

@gdaniel
Copy link
Contributor

gdaniel commented Jan 28, 2017

Need to check the behavior of XMI resources
xmiResource.getContents().addAll(sourceXMIResource.getContents());

The links should be removed, but we need to be sure about that.

@gdaniel
Copy link
Contributor

gdaniel commented Feb 13, 2017

Should be put in the tutorial / wiki (see #66)

@yvrng
Copy link
Contributor

yvrng commented Sep 20, 2017

A call to EcoreUtil#copyAll is no longer necessary

@yvrng yvrng added this to the Release 2.0.0 milestone Feb 16, 2018
@yvrng yvrng closed this as completed Feb 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants