Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Use of Eclipse Comparaison Tool after JMerge
Use of Eclipse Comparaison Tool after JMerge [message #379966] Mon, 05 March 2007 09:01 Go to next message
Eclipse User
Originally posted by: rital77.hotmail.com

Hi,

I'm studing the way of using Eclipse Comparaison Tool after an incremental
generation made with EMF and JMerge.
I would like to show to the user a display that looks like a CVS or SVN
merge result. This fonctionnality should reassure the user when he uses
tags to customize generated code.

Is there a simple way of reusing Eclipse Compare Tools ? Do you know if
there is an article about compare tool programming ?

Thanks in advance,

JB Volta.
Re: Use of Eclipse Comparaison Tool after JMerge [message #379968 is a reply to message #379966] Mon, 05 March 2007 13:15 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26014
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000308050507060700000705
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

JB,

Although not directly related to your questions, we're in the process of
starting a model comparison component in EMF/EMFT which uses Eclipse's
compare framework:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166
https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382

But I'm not sure where to point you for general information about how
you might use JMerge to generate a result and then show a comparison. A
simple approach might be to use the GenModel's "Redirection Pattern" to
generate a side file rather than updating the actual file and then do
just a plain old resource/resource comparison on that.


JB Volta wrote:
> Hi,
>
> I'm studing the way of using Eclipse Comparaison Tool after an
> incremental generation made with EMF and JMerge. I would like to show
> to the user a display that looks like a CVS or SVN merge result. This
> fonctionnality should reassure the user when he uses tags to customize
> generated code.
>
> Is there a simple way of reusing Eclipse Compare Tools ? Do you know
> if there is an article about compare tool programming ?
>
> Thanks in advance,
>
> JB Volta.
>
>


--------------000308050507060700000705
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">
JB,<br>
<br>
Although not directly related to your questions, we're in the process
of starting a model comparison component in EMF/EMFT which uses
Eclipse's compare framework:<br>
<blockquote><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166">https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166</a><br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382">https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382</a><br>
</blockquote>
But I'm not sure where to point you for general information about how
you might use JMerge to generate a result and then show a comparison.
Re: Use of Eclipse Comparaison Tool after JMerge [message #589952 is a reply to message #379966] Mon, 05 March 2007 13:15 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26014
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000308050507060700000705
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

JB,

Although not directly related to your questions, we're in the process of
starting a model comparison component in EMF/EMFT which uses Eclipse's
compare framework:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166
https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382

But I'm not sure where to point you for general information about how
you might use JMerge to generate a result and then show a comparison. A
simple approach might be to use the GenModel's "Redirection Pattern" to
generate a side file rather than updating the actual file and then do
just a plain old resource/resource comparison on that.


JB Volta wrote:
> Hi,
>
> I'm studing the way of using Eclipse Comparaison Tool after an
> incremental generation made with EMF and JMerge. I would like to show
> to the user a display that looks like a CVS or SVN merge result. This
> fonctionnality should reassure the user when he uses tags to customize
> generated code.
>
> Is there a simple way of reusing Eclipse Compare Tools ? Do you know
> if there is an article about compare tool programming ?
>
> Thanks in advance,
>
> JB Volta.
>
>


--------------000308050507060700000705
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">
JB,<br>
<br>
Although not directly related to your questions, we're in the process
of starting a model comparison component in EMF/EMFT which uses
Eclipse's compare framework:<br>
<blockquote><a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166">https://bugs.eclipse.org/bugs/show_bug.cgi?id=157166</a><br>
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382">https://bugs.eclipse.org/bugs/show_bug.cgi?id=161382</a><br>
</blockquote>
But I'm not sure where to point you for general information about how
you might use JMerge to generate a result and then show a comparison.
Previous Topic:Use of Eclipse Comparaison Tool after JMerge
Next Topic:[Announce] Code Generation 2007 - May 18th-20th
Goto Forum:
  


Current Time: Tue Sep 02 02:52:35 EDT 2014

Powered by FUDForum. Page generated in 0.01754 seconds