Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Copy a CDOResource contents to a text file
Copy a CDOResource contents to a text file [message #1702655] Thu, 23 July 2015 18:58 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi,

I want to be able to Copy a CDOResource contents to a new ecore resource or a text file.

How can I do that?
Re: Copy a CDOResource contents to a text file [message #1702677 is a reply to message #1702655] Fri, 24 July 2015 05:16 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6447
Registered: July 2009
Senior Member
Am 23.07.2015 um 20:58 schrieb UmaShankar Subramani:
> Hi,
>
> I want to be able to Copy a CDOResource contents to a new ecore resource or a text file.
If that resource is self-contained, i.e., does not have cross references into other resources, you can just
EcoreUtil.copy() the root objects, put them in an XMLResource and save it.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Setting genmodel's "Property Type" to "Editable" for all features
Next Topic:[CDO] Server configuration for audit mode
Goto Forum:
  


Current Time: Tue Oct 22 21:05:32 GMT 2019

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

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

Back to the top