Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: How can I use EMF Compare programatically
Re: How can I use EMF Compare programatically [message #609454] Fri, 10 August 2007 11:34
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050205090704050205030003
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Sourabh,

For questions about EMF compare, it's best to use the EMFT newsgroup,
which I've added to the "to" list of the reply, and to prefix your
subject line with [Compare].

This tutorial explains how to generate a model assuming you have a
schema for your XML files:

Tutorial: Generating an EMF Model using XML Schema
< http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/tutorials/xlibmod/xlibm od.html>

The compare framework should be able to help you compare two instances
of your model.


Sourabh S Joshi wrote:
> Hello,
>
> I am stuck at a place in my project, so I need your help. I will
> explain my use case to u all.
> I have an xml file say MyFormDescriptor.xml. It contains a forms tag
> under which I can have as many form tags as I want. <form> tag
> contains various tags like <grid>,<repeater>,<error> etc.
> I want a way to know at dynamically (at runtime), which form tag has
> changed so that I can process the tag likewise.
>
> I decided to use EMF compare for this. I want to know whether there is
> any API which can help me to programatically generate an emf model for
> this xml file and an API for comparing two instances of the same file
> on save event. so as to get the change delta(the tag which got changed).
>
> Thanking you in advance.
>


--------------050205090704050205030003
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sourabh,<br>
<br>
For questions about EMF compare, it's best to use the EMFT newsgroup,
which I've added to the "to" list of the reply, and to prefix your
subject line with [Compare].


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Teneo] Problems with inherited field
Next Topic:[Teneo] Create table fails in Integration Build I200704230019
Goto Forum:
  


Current Time: Fri Apr 26 20:07:18 GMT 2024

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

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

Back to the top