Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Automation for Genmodel, Model-Generation and others
Automation for Genmodel, Model-Generation and others [message #414831] Fri, 23 November 2007 16:14 Go to next message
Eclipse UserFriend
Originally posted by: mirko.richter.gmx.de

Hi,

i work on several models depending on each other.
whenever i change something affecting the overall structure (f.e.
renaming etc.) of the model i have to recreate the model and all its
depending models. what i'm looking for is a way to automate the
following steps (for several models):

1) recreate (or delete+create) genmodel
2) delete data-model (generated stuff)
3) create data-model from genmodel

is there some automatism available (f.e. via ANT/Maven etc.)?

Thanks
Re: Automation for Genmodel, Model-Generation and others [message #414834 is a reply to message #414831] Fri, 23 November 2007 18:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020109080908000603010802
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Mirko,

It sounds like maybe you've never used "Reload..." which is available
from the popup on the .genmodel or from the menubar when the .genmodel
is open.

We also have Ant tasks and those support the ability to do a reload.

2.36 How can I use the EMF Ant tasks?
< http://wiki.eclipse.org/index.php/EMF-FAQ#How_can_I_use_the_ EMF_Ant_tasks.3F>


Mirko Richter wrote:
> Hi,
>
> i work on several models depending on each other.
> whenever i change something affecting the overall structure (f.e.
> renaming etc.) of the model i have to recreate the model and all its
> depending models. what i'm looking for is a way to automate the
> following steps (for several models):
>
> 1) recreate (or delete+create) genmodel
> 2) delete data-model (generated stuff)
> 3) create data-model from genmodel
>
> is there some automatism available (f.e. via ANT/Maven etc.)?
>
> Thanks


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

<!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">
Mirko,<br>
<br>
It sounds like maybe you've never used "Reload..." which is available
from the popup on the .genmodel or from the menubar when the .genmodel
is open.<br>
<br>
We also have Ant tasks and those support the ability to do a reload.<br>
<blockquote><a
href=" http://wiki.eclipse.org/index.php/EMF-FAQ#How_can_I_use_the_ EMF_Ant_tasks.3F"><span
class="tocnumber">2.36</span> <span class="toctext">How can I use the
EMF Ant tasks?</span></a><br>
</blockquote>
<br>
Mirko Richter wrote:
<blockquote cite="mid:fi6u9l$fvo$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
i work on several models depending on each other.
<br>
whenever i change something affecting the overall structure (f.e.
renaming etc.) of the model i have to recreate the model and all its
depending models. what i'm looking for is a way to automate the
following steps (for several models):
<br>
<br>
1) recreate (or delete+create) genmodel
<br>
2) delete data-model (generated stuff)
<br>
3) create data-model from genmodel
<br>
<br>
is there some automatism available (f.e. via ANT/Maven etc.)?
<br>
<br>
Thanks
<br>
</blockquote>
<br>
</body>
</html>

--------------020109080908000603010802--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Automation for Genmodel, Model-Generation and others [message #414835 is a reply to message #414831] Fri, 23 November 2007 18:08 Go to previous message
Marcelo Paternostro is currently offline Marcelo PaternostroFriend
Messages: 602
Registered: July 2009
Senior Member
Hi,

You can use the EMF Ant tasks on 1 and 3 (and regular Ant tasks for 2 ;-).

See the FAQ for more information on them:
http://wiki.eclipse.org/index.php/EMF-FAQ#How_can_I_use_the_ EMF_Ant_tasks.3F

Cheers,
Marcelo

Mirko Richter wrote:
> Hi,
>
> i work on several models depending on each other.
> whenever i change something affecting the overall structure (f.e.
> renaming etc.) of the model i have to recreate the model and all its
> depending models. what i'm looking for is a way to automate the
> following steps (for several models):
>
> 1) recreate (or delete+create) genmodel
> 2) delete data-model (generated stuff)
> 3) create data-model from genmodel
>
> is there some automatism available (f.e. via ANT/Maven etc.)?
>
> Thanks
Previous Topic:Create and delete
Next Topic:Setting up Eclipse for Reflective API
Goto Forum:
  


Current Time: Sat Apr 27 00:02:22 GMT 2024

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

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

Back to the top