Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » EMF Compare - Diffing EMF UML2 XMI
EMF Compare - Diffing EMF UML2 XMI [message #86682] |
Mon, 18 June 2007 12:23 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Dear All,
We get sent business requirements etc as XMI files produced by a recent
version on Rational.
We need to be able to tell exactly what has changed when we get sent a
new XMI file vs the one we already have/are working from.
Looking at them, they appear to be the std EMF UML2 XMI.
Is there any tutorial or example as to how one would go about using the
EMF Compare tool to diff the 2 XMI files?
Adam
|
|
| |
Re: EMF Compare - Diffing EMF UML2 XMI [message #86707 is a reply to message #86682] |
Mon, 18 June 2007 13:44 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
AdamF wrote:
> Dear All,
>
> We get sent business requirements etc as XMI files produced by a recent
> version on Rational.
>
> We need to be able to tell exactly what has changed when we get sent a
> new XMI file vs the one we already have/are working from.
>
> Looking at them, they appear to be the std EMF UML2 XMI.
>
> Is there any tutorial or example as to how one would go about using the
> EMF Compare tool to diff the 2 XMI files?
>
>
> Adam
BTW with Eclipse 3.2.2 & the most recent update manager version I get
the following errors when I do a "compare as model" I get a
NullPointerException followed by a Unhandled event loop exception (see
below).
Is the latest version being built against eclipse 3.3. in preparation
for Europa?
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.NullPointerException
at
org.eclipse.emf.compare.ui.legacy.editor.ModelCompareEditorI nput.getCompareResult(ModelCompareEditorInput.java:479)
at
org.eclipse.compare.internal.CompareUIPlugin.compareResultOK (CompareUIPlugin.java:490)
at
org.eclipse.compare.internal.CompareUIPlugin.openCompareEdit or(CompareUIPlugin.java:435)
at
org.eclipse.compare.CompareUI.openCompareEditorOnPage(Compar eUI.java:134)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:120)
at
org.eclipse.emf.compare.ui.legacy.actions.CompareWithEachOth erAction$1.run(CompareWithEachOtherAction.java:49)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 20 more
TIA
Adam
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #86720 is a reply to message #86696] |
Mon, 18 June 2007 14:08 |
Eclipse User |
|
|
|
Originally posted by: lucas.bigeardel.anyware-tech.com
Sergey Boiko a écrit :
> Dear All,
>
> I'm also interested in available API and current state of Compare.
> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there plans
> to build Compare against Eclipse 3.3?
> Also I can't find where sources hosted in Eclipse CVS.
Sergei,
Code source is available on CVS :
dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
Cedric Brun is the lead for this project, I CCed him.
regards,
>
> Best Regards,
> Sergey.
>
>
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #86770 is a reply to message #86720] |
Tue, 19 June 2007 10:20 |
Cedric Brun Messages: 431 Registered: July 2009 |
Senior Member |
|
|
Hi,
Right now compare is being cleaned up, in the gui as in the comparison
engines and API. The lowest build dependencies are Eclipse 3.2.2 and EMF
2.2.2 but it should build on Eclipse 3.3 too.
The API is not frozen yet, more especially concerning the merge support.
I'll provide tutorials as soon as the API is considered as frozen.
Concerning the XMI file, if EMF is able to load them, then we should be able
to compare them, if not its a bug. Do not hesitate to report it. I would
recommend to use the latest integration build (which will be done today),
it will fix some bugs.
In the latest builds the usage is quite simple. when one click on "Compare
with each other" the emf comparison is launched if the file is a "Model"
content-type (you can configure that in the preferences). The "Compare as
models" action disapeared and emf compare may now be called using SVN/CVS
or the history view too.
cheers,
Cédric
lb wrote:
> Sergey Boiko a écrit :
>> Dear All,
>>
>> I'm also interested in available API and current state of Compare.
>> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there
>> plans to build Compare against Eclipse 3.3?
>> Also I can't find where sources hosted in Eclipse CVS.
>
> Sergei,
>
> Code source is available on CVS :
>
>
dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
>
> Cedric Brun is the lead for this project, I CCed him.
>
> regards,
>
>
>>
>> Best Regards,
>> Sergey.
>>
>>
http://cedric.brun.io news and articles on eclipse and eclipse modeling.
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #86772 is a reply to message #86770] |
Tue, 19 June 2007 12:28 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Cédric Brun wrote:
> Hi,
>
> Right now compare is being cleaned up, in the gui as in the comparison
> engines and API. The lowest build dependencies are Eclipse 3.2.2 and EMF
> 2.2.2 but it should build on Eclipse 3.3 too.
> The API is not frozen yet, more especially concerning the merge support.
> I'll provide tutorials as soon as the API is considered as frozen.
>
> Concerning the XMI file, if EMF is able to load them, then we should be able
> to compare them, if not its a bug. Do not hesitate to report it. I would
> recommend to use the latest integration build (which will be done today),
> it will fix some bugs.
>
Excellent
Which is the relevant update site?
http://download.eclipse.org/modeling/emft/updates/site-inter im.xml
?
Is the compare tool being aimed to get into the Europa release?
> In the latest builds the usage is quite simple. when one click on "Compare
> with each other" the emf comparison is launched if the file is a "Model"
> content-type (you can configure that in the preferences). The "Compare as
> models" action disapeared and emf compare may now be called using SVN/CVS
> or the history view too.
>
> cheers,
>
Very nice.
I am downloading 3.3 now.
Adam
> Cédric
>
> lb wrote:
>
>> Sergey Boiko a écrit :
>>> Dear All,
>>>
>>> I'm also interested in available API and current state of Compare.
>>> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there
>>> plans to build Compare against Eclipse 3.3?
>>> Also I can't find where sources hosted in Eclipse CVS.
>> Sergei,
>>
>> Code source is available on CVS :
>>
>>
> dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
>> Cedric Brun is the lead for this project, I CCed him.
>>
>> regards,
>>
>>
>>> Best Regards,
>>> Sergey.
>>>
>>>
>
|
|
| |
Re: EMF Compare - Diffing EMF UML2 XMI [message #607008 is a reply to message #86682] |
Mon, 18 June 2007 13:44 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
AdamF wrote:
> Dear All,
>
> We get sent business requirements etc as XMI files produced by a recent
> version on Rational.
>
> We need to be able to tell exactly what has changed when we get sent a
> new XMI file vs the one we already have/are working from.
>
> Looking at them, they appear to be the std EMF UML2 XMI.
>
> Is there any tutorial or example as to how one would go about using the
> EMF Compare tool to diff the 2 XMI files?
>
>
> Adam
BTW with Eclipse 3.2.2 & the most recent update manager version I get
the following errors when I do a "compare as model" I get a
NullPointerException followed by a Unhandled event loop exception (see
below).
Is the latest version being built against eclipse 3.3. in preparation
for Europa?
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.NullPointerException
at
org.eclipse.emf.compare.ui.legacy.editor.ModelCompareEditorI nput.getCompareResult(ModelCompareEditorInput.java:479)
at
org.eclipse.compare.internal.CompareUIPlugin.compareResultOK (CompareUIPlugin.java:490)
at
org.eclipse.compare.internal.CompareUIPlugin.openCompareEdit or(CompareUIPlugin.java:435)
at
org.eclipse.compare.CompareUI.openCompareEditorOnPage(Compar eUI.java:134)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:120)
at
org.eclipse.emf.compare.ui.legacy.actions.CompareWithEachOth erAction$1.run(CompareWithEachOtherAction.java:49)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 20 more
TIA
Adam
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #607009 is a reply to message #86696] |
Mon, 18 June 2007 14:08 |
Eclipse User |
|
|
|
Originally posted by: lucas.bigeardel.anyware-tech.com
Sergey Boiko a écrit :
> Dear All,
>
> I'm also interested in available API and current state of Compare.
> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there plans
> to build Compare against Eclipse 3.3?
> Also I can't find where sources hosted in Eclipse CVS.
Sergei,
Code source is available on CVS :
dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
Cedric Brun is the lead for this project, I CCed him.
regards,
>
> Best Regards,
> Sergey.
>
>
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #607015 is a reply to message #86720] |
Tue, 19 June 2007 10:20 |
Cedric Brun Messages: 431 Registered: July 2009 |
Senior Member |
|
|
Hi,
Right now compare is being cleaned up, in the gui as in the comparison
engines and API. The lowest build dependencies are Eclipse 3.2.2 and EMF
2.2.2 but it should build on Eclipse 3.3 too.
The API is not frozen yet, more especially concerning the merge support.
I'll provide tutorials as soon as the API is considered as frozen.
Concerning the XMI file, if EMF is able to load them, then we should be able
to compare them, if not its a bug. Do not hesitate to report it. I would
recommend to use the latest integration build (which will be done today),
it will fix some bugs.
In the latest builds the usage is quite simple. when one click on "Compare
with each other" the emf comparison is launched if the file is a "Model"
content-type (you can configure that in the preferences). The "Compare as
models" action disapeared and emf compare may now be called using SVN/CVS
or the history view too.
cheers,
Cédric
lb wrote:
> Sergey Boiko a écrit :
>> Dear All,
>>
>> I'm also interested in available API and current state of Compare.
>> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there
>> plans to build Compare against Eclipse 3.3?
>> Also I can't find where sources hosted in Eclipse CVS.
>
> Sergei,
>
> Code source is available on CVS :
>
>
dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
>
> Cedric Brun is the lead for this project, I CCed him.
>
> regards,
>
>
>>
>> Best Regards,
>> Sergey.
>>
>>
http://cedric.brun.io news and articles on eclipse and eclipse modeling.
|
|
|
Re: EMF Compare - Diffing EMF UML2 XMI [message #607016 is a reply to message #86770] |
Tue, 19 June 2007 12:28 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Cédric Brun wrote:
> Hi,
>
> Right now compare is being cleaned up, in the gui as in the comparison
> engines and API. The lowest build dependencies are Eclipse 3.2.2 and EMF
> 2.2.2 but it should build on Eclipse 3.3 too.
> The API is not frozen yet, more especially concerning the merge support.
> I'll provide tutorials as soon as the API is considered as frozen.
>
> Concerning the XMI file, if EMF is able to load them, then we should be able
> to compare them, if not its a bug. Do not hesitate to report it. I would
> recommend to use the latest integration build (which will be done today),
> it will fix some bugs.
>
Excellent
Which is the relevant update site?
http://download.eclipse.org/modeling/emft/updates/site-inter im.xml
?
Is the compare tool being aimed to get into the Europa release?
> In the latest builds the usage is quite simple. when one click on "Compare
> with each other" the emf comparison is launched if the file is a "Model"
> content-type (you can configure that in the preferences). The "Compare as
> models" action disapeared and emf compare may now be called using SVN/CVS
> or the history view too.
>
> cheers,
>
Very nice.
I am downloading 3.3 now.
Adam
> Cédric
>
> lb wrote:
>
>> Sergey Boiko a écrit :
>>> Dear All,
>>>
>>> I'm also interested in available API and current state of Compare.
>>> Latest build has dependencies on Eclipse 3.2.2 and EMF 2.2.2. Are there
>>> plans to build Compare against Eclipse 3.3?
>>> Also I can't find where sources hosted in Eclipse CVS.
>> Sergei,
>>
>> Code source is available on CVS :
>>
>>
> dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclips e.emf.compare/*
>> Cedric Brun is the lead for this project, I CCed him.
>>
>> regards,
>>
>>
>>> Best Regards,
>>> Sergey.
>>>
>>>
>
|
|
|
Goto Forum:
Current Time: Wed Apr 24 23:46:37 GMT 2024
Powered by FUDForum. Page generated in 0.03977 seconds
|