|
|
|
Re: Cannot create Migrator (Edapt/COPE) [message #867379 is a reply to message #865565] |
Tue, 01 May 2012 09:00 |
Markus Herrmannsdoerfer Messages: 50 Registered: July 2009 |
Member |
|
|
Hi,
you have to open the plugin.xml Editor and go to the Extensions tab and
here you need to add an extension for extension point
org.eclipse.emf.edapt.migrators like shown in the attached image. If you
do not find the extension point, you have to add the plugin
org.eclipse.emf.edapt.history in the Dependencies tab.
If you have further questions, do not hesitate to ask.
Cheers,
Markus
Am 30.04.2012 15:11, schrieb lucky informatik:
> Hi,
>
> I have created metamodel and a model.Now I want to change metamodel and
> check how it works on the model.I used a reuse operation 'rename' ,
> executed the operation and released the history. Now I was stuck at
> registering the history to migrate the model. I went through the Edapt
> tutorial.
>
> But I was not clear with the below statements.
>
> To register the history, you need to use the extension point
> "org.eclipse.emf.edapt.migrators" from the plugin
> "org.eclipse.emf.edapt.history". Then you can use the migrator from the
> second Eclipse instance like before.
>
> Could someone please explain what I have to do in the eclipse editor
> with the above statements or provide me with some tutorial.
>
> Thanks,
> Lucky
|
|
|
|
(Edapt/COPE) [message #869551 is a reply to message #867809] |
Thu, 03 May 2012 15:13 |
lucky informatik Messages: 12 Registered: April 2012 |
Junior Member |
|
|
Hi,
I created a metamodel and a model and I changed my metamodel by adding a subclass, using Edapt operation and migrated(validated) model. My idea was to create a subclass so that I can change the superclass instance as subclass instance. For that I deleted the super class instance manually and created the same as a subclass instance.
I have heard that by using transformations(model transformation tools) the superclass instances can be transformed to subclass instances. I would like to know if there is some option available which automatically changes the superclass instances as subclass instances.
Thanks,
Lucky
[Updated on: Thu, 03 May 2012 15:25] Report message to a moderator
|
|
|
|
|
|
|
|
Re: (Edapt/COPE) [message #882874 is a reply to message #882825] |
Thu, 07 June 2012 11:14 |
Markus Herrmannsdoerfer Messages: 50 Registered: July 2009 |
Member |
|
|
Hi Lucky,
have you taken a look at the publications that listed on the Edapt page:
http://www.eclipse.org/edapt/publications.php
Maybe the following publication gives you some information about
classifications of operators and provides also references to futher
literature:
An Extensive Catalog of Operators for the Coupled Evolution of
Metamodels and Models. Markus Herrmannsdoerfer, Sander Vermolen, and
Guido Wachsmuth. In Proceedings of the 3rd International Conference on
Software Language Engineering (SLE). (2010)
I hope this helps.
Cheers,
Markus
Am 07.06.2012 11:23, schrieb lucky informatik:
> Hi,
>
> I need some information.I have seen some classifications for metamodel
> changes in some literature for metamodel matching approaches like
> non-breaking, breakable and resolvable, breakable and non resolvable.I
> would like to know if these classifications are applied for operation
> based approaches or if there are some other classifications.Please let
> me know if there is some literature corresponding to these classifications.
> I would also like to know if there is some theory behind in creating the
> operators in EDAPT.
> Thanks,
>
> Lucky
|
|
|
|
Re: (Edapt/COPE) [message #891310 is a reply to message #890016] |
Sun, 24 June 2012 16:35 |
Markus Herrmannsdoerfer Messages: 50 Registered: July 2009 |
Member |
|
|
Hi Lucky,
unfortunately, at the moment, there is no such support in Edapt.
However, I have already thought about this feature and have some ideas
how this can be implemented. The idea would be that an operation also
triggers a code refactoring operation. Unfortunately, I do not have
resources to implement such a feature at the moment. If you have
resources and want to implement such a feature, we can of course
integrate it into Edapt.
Cheers,
Markus
Am 20.06.2012 17:11, schrieb lucky informatik:
> Thanks for the information.
>
> I have another question out of my curiosity. Suppose we make some
> changes to meta-model using Edapt. For example: rename or delete
> feature. Then we save ecore model and re-load gen-model. Then we observe
> some error in the source, edit or editor codes. I normally edit the java
> implementations to remove the errors and then migrate.
> I would like to know if there is other process to automatically get rid
> of those erros?
>
> Thanks,
> Lucky
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05497 seconds