Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » xmi:id get lost when saving Resource
xmi:id get lost when saving Resource [message #949729] Fri, 19 October 2012 04:24 Go to previous message
Jens Bürger is currently offline Jens Bürger
Messages: 9
Registered: October 2012
Junior Member
Hello everyone,

I am using the EMF project Henshin.
Currently I am using Henshin to do a model transformation on a UML model.

The transformed model is contained in an EGraph and saved like this:
		    
options.put(XMIResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); 
Resource resource2 = resourceSet.createResource(URI.createFileURI("seclinks_corrected.uml"));
resource2.getContents().addAll(graph.getRoots());
try {
     resource2.save(options);} 


What I miss in the saved model are all xmi:id-attributes.

I already had a look at further options in XMIResource but didn't find an matching option.

Any ideas?

Thanks in advance,
Jens
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Undo operations with EString attributes
Next Topic:[CDO/Hibernate] Export and Import
Goto Forum:
  


Current Time: Fri May 24 03:34:46 EDT 2013

Powered by FUDForum. Page generated in 0.01960 seconds