Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » work flow to update genmodel from ecore
work flow to update genmodel from ecore [message #418724] Fri, 25 April 2008 07:29 Go to next message
gary s thompson is currently offline gary s thompsonFriend
Messages: 92
Registered: July 2009
Member
Dear All

I am using python to generate an ecore model file and then building a
genmodel from this. However, I seem to be having to create a new project
each time I make the ecore-genmodel step using the recipe in the emf 2ed
shortcuts book. Is there an easier way to update the genmodel from the
ecore model?

regards
gary
Re: work flow to update genmodel from ecore [message #418725 is a reply to message #418724] Fri, 25 April 2008 11:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070603090300030208050009
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Gary,

This sounds like my latest addition to the FAQ:

2.44 How do I update my Ecore and GenModel after the originating
model has changed?
< http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>


gary wrote:
> Dear All
>
> I am using python to generate an ecore model file and then building a
> genmodel from this. However, I seem to be having to create a new
> project each time I make the ecore-genmodel step using the recipe in
> the emf 2ed shortcuts book. Is there an easier way to update the
> genmodel from the ecore model?
>
> regards
> gary
>


--------------070603090300030208050009
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">
Gary,<br>
<br>
This sounds like my latest addition to the FAQ:<br>
<blockquote><a
href=" http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F"><span
class="tocnumber">2.44</span> <span class="toctext">How do I update
my Ecore and GenModel after the originating model has changed?</span></a><br>
</blockquote>
<br>
gary wrote:
<blockquote
cite="mid:f04cfc5d61e41b4a199ca5cd4031ff06$1@www.eclipse.org"
type="cite">Dear All
<br>
<br>
I am using python to generate an ecore model file and then building a
genmodel from this. However, I seem to be having to create a new
project each time I make the ecore-genmodel step using the recipe in
the emf 2ed shortcuts book. Is there an easier way to update the
genmodel from the ecore model?
<br>
<br>
regards
<br>
gary
<br>
<br>
</blockquote>
<br>
</body>
</html>

--------------070603090300030208050009--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: work flow to update genmodel from ecore [message #418892 is a reply to message #418725] Thu, 01 May 2008 07:12 Go to previous messageGo to next message
gary s thompson is currently offline gary s thompsonFriend
Messages: 92
Registered: July 2009
Member
Ed Merks wrote:

> Gary,

> This sounds like my latest addition to the FAQ:

> 2.44 How do I update my Ecore and GenModel after the originating
> model has changed?
>
< http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>


> gary wrote:
>> Dear All
>>
>> I am using python to generate an ecore model file and then building a
>> genmodel from this. However, I seem to be having to create a new
>> project each time I make the ecore-genmodel step using the recipe in
>> the emf 2ed shortcuts book. Is there an easier way to update the
>> genmodel from the ecore model?
>>
>> regards
>> gary
>>
Hi Ed
this seems to work mostly many thanks it really helps!
However, there seems to be at least one or two problems

1. sometimes when I have had a failed reload (e.g. an error in the ecore)
the whole thing will freeze the next time I reload
2. I have a class which provides toString as an operation, now that in its
self seems to be a problem because emf is adding an additional toString
method to the output class. However, on top of that it is also adding an
extra toString method each time I run an update (I think I have 12 clones
of the method now ;-)!! so you can see reload does help me)
3. update doesn't seem to rebuild the Meta-Inf/MANIFEST.MF file

to put some flesh on the bones I am running EMF 2.3.2.v200802051830 on
eclipse Version: 3.3.2 Build id: M20080221-1800 on a ubuntu 7.10 Gutsy
system

regards and many thanks
gary

nb one side comment/ RFE is that it would be really nice to have some sort
of 'run all' button on the first page of the reload dialog or a menu item
that just took all the previous settings and did the whole thing without
having to 'click through' as the models I am dealing with are large and I
have to sit and wait for completion
a second one is that it would be neat to have reload as a right click on
the genmodel object I think I might have found the reload without the
e-mail and faq then
Re: work flow to update genmodel from ecore [message #418896 is a reply to message #418892] Thu, 01 May 2008 11:27 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Gary,

Comments below.

gary wrote:
> Ed Merks wrote:
>
>> Gary,
>
>> This sounds like my latest addition to the FAQ:
>
>> 2.44 How do I update my Ecore and GenModel after the originating
>> model has changed?
>>
> < http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>
>
>
>
>> gary wrote:
>>> Dear All
>>>
>>> I am using python to generate an ecore model file and then building
>>> a genmodel from this. However, I seem to be having to create a new
>>> project each time I make the ecore-genmodel step using the recipe in
>>> the emf 2ed shortcuts book. Is there an easier way to update the
>>> genmodel from the ecore model?
>>>
>>> regards
>>> gary
>>>
> Hi Ed this seems to work mostly many thanks it really helps!
> However, there seems to be at least one or two problems
>
> 1. sometimes when I have had a failed reload (e.g. an error in the
> ecore) the whole thing will freeze the next time I reload
If it's failed, don't save the results. I'd need to be able to
reproduce this to fix it... You can invoke Validate on the root
EPackage of the .ecore directly, if you're editing .ecore directly
rather than importing from another model source, so it's best to ensure
your Ecore is valid before you start using it elsewhere.
> 2. I have a class which provides toString as an operation, now that in
> its self seems to be a problem because emf is adding an additional
> toString method to the output class. However, on top of that it is
> also adding an extra toString method each time I run an update (I
> think I have 12 clones of the method now ;-)!! so you can see reload
> does help me)
Again, I'd need to reproduce it to understand what's going on. Likely
we'd need to have special processing for "toString" since the Impl class
template will always generate a "toString" method so if you've defined
an operation for it two, I can see that it will want to generate two.
Please open a bugzilla for it.
> 3. update doesn't seem to rebuild the Meta-Inf/MANIFEST.MF file
Yes, the plugin.xml and the MANIFEST.MF don't regenerate. We don't
have merge support for them and we don't want to overwrite the user's
changes. There's a bugzilla for this already.
>
> to put some flesh on the bones I am running EMF 2.3.2.v200802051830 on
> eclipse Version: 3.3.2 Build id: M20080221-1800 on a ubuntu 7.10 Gutsy
> system
>
> regards and many thanks
> gary
>
> nb one side comment/ RFE is that it would be really nice to have some
> sort of 'run all' button on the first page of the reload dialog or a
> menu item that just took all the previous settings and did the whole
> thing without having to 'click through' as the models I am dealing
> with are large and I have to sit and wait for completion
Some folks are looking at having builders that do all the steps.
> a second one is that it would be neat to have reload as a right click
> on the genmodel object I think I might have found the reload without
> the e-mail and faq then
Open a bugzilla enhancement request and well consider it...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: work flow to update genmodel from ecore [message #418952 is a reply to message #418896] Mon, 05 May 2008 13:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: philipp.kutter.org

This is a multi-part message in MIME format.
--------------000202040405070306000704
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi.
Here is what does not work for us, when updating genmodel from ecore:

- loading Unique.genmodel from a First.ecore file, which uses the
EClasses of a second Second.ecore file.
(see FirtStep_working_.....)

- creating a third Third.ecore file, using its EClasses in First.ecore,
and reload the Unique.genmodel.

The second step leads to the situation, where I cannot open the
..genmodel file anymore.
(see SecondStep_notWorking_.....)

I get the following error:
The package
'platform:/resource/org.examoples.gemodelfromecore/model/Thi rd.ecore#'
is needed butg isn't accessible from the Generator model

The only way I get this fixed is adding per hand an empty entry in the
..genmodel, but this could be automated.

Best, Philipp

Ed Merks wrote:
> Gary,
>
> Comments below.
>
> gary wrote:
>> Ed Merks wrote:
>>
>>> Gary,
>>
>>> This sounds like my latest addition to the FAQ:
>>
>>> 2.44 How do I update my Ecore and GenModel after the originating
>>> model has changed?
>>>
>> < http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>
>>
>>
>>
>>> gary wrote:
>>>> Dear All
>>>>
>>>> I am using python to generate an ecore model file and then building
>>>> a genmodel from this. However, I seem to be having to create a new
>>>> project each time I make the ecore-genmodel step using the recipe in
>>>> the emf 2ed shortcuts book. Is there an easier way to update the
>>>> genmodel from the ecore model?
>>>>
>>>> regards
>>>> gary
>>>>
>> Hi Ed this seems to work mostly many thanks it really helps!
>> However, there seems to be at least one or two problems
>>
>> 1. sometimes when I have had a failed reload (e.g. an error in the
>> ecore) the whole thing will freeze the next time I reload
> If it's failed, don't save the results. I'd need to be able to
> reproduce this to fix it... You can invoke Validate on the root
> EPackage of the .ecore directly, if you're editing .ecore directly
> rather than importing from another model source, so it's best to ensure
> your Ecore is valid before you start using it elsewhere.
>> 2. I have a class which provides toString as an operation, now that in
>> its self seems to be a problem because emf is adding an additional
>> toString method to the output class. However, on top of that it is
>> also adding an extra toString method each time I run an update (I
>> think I have 12 clones of the method now ;-)!! so you can see reload
>> does help me)
> Again, I'd need to reproduce it to understand what's going on. Likely
> we'd need to have special processing for "toString" since the Impl class
> template will always generate a "toString" method so if you've defined
> an operation for it two, I can see that it will want to generate two.
> Please open a bugzilla for it.
>> 3. update doesn't seem to rebuild the Meta-Inf/MANIFEST.MF file
> Yes, the plugin.xml and the MANIFEST.MF don't regenerate. We don't
> have merge support for them and we don't want to overwrite the user's
> changes. There's a bugzilla for this already.
>>
>> to put some flesh on the bones I am running EMF 2.3.2.v200802051830 on
>> eclipse Version: 3.3.2 Build id: M20080221-1800 on a ubuntu 7.10 Gutsy
>> system
>>
>> regards and many thanks
>> gary
>>
>> nb one side comment/ RFE is that it would be really nice to have some
>> sort of 'run all' button on the first page of the reload dialog or a
>> menu item that just took all the previous settings and did the whole
>> thing without having to 'click through' as the models I am dealing
>> with are large and I have to sit and wait for completion
> Some folks are looking at having builders that do all the steps.
>> a second one is that it would be neat to have reload as a right click
>> on the genmodel object I think I might have found the reload without
>> the e-mail and faq then
> Open a bugzilla enhancement request and well consider it...


--------------000202040405070306000704
Content-Type: application/x-zip-compressed;
name="StepOne_Working_.genmodelfromecore.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;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9k ZWwvRmlyc3Qu
ZWNvcmVkaVBLAQIUABQAAAAIABt3pTiNNY+V2QAAAGsBAAAxAAAAAAAAAAAA IAAAABQJAABv
cmcuZXhhbXBsZXMuZ2VubW9kZWxmcm9tZWNvcmUvbW9kZWwvU2Vjb25kLmVj b3JlUEsBAhQA
FAAAAAgAG3elOD1CLNB8AgAABgoAADMAAAAAAAAAAAAgAAAAPAoAAG9yZy5l eGFtcGxlcy5n
ZW5tb2RlbGZyb21lY29yZS9tb2RlbC9TZWNvbmQuZWNvcmVkaVBLAQIUABQA AAAIAEV3pTjA
aWJgswEAAP4DAAA0AAAAAAAAAAAAIAAAAAkNAABvcmcuZXhhbXBsZXMuZ2Vu bW9kZWxmcm9t
ZWNvcmUvbW9kZWwvVW5pcXVlLmdlbm1vZGVsUEsBAhQACgAAAAAA9nalOAAA AAAAAAAAAAAA
ACMAAAAAAAAAAAAQAAAADg8AAG9yZy5leGFtcGxlcy5nZW5tb2RlbGZyb21l Y29yZS9zcmMv
UEsFBgAAAAANAA0AhQQAAE8PAAAAAA==
--------------000202040405070306000704
Content-Type: application/x-zip-compressed;
name="StepTwo_nonWorking_.genmodelfromecore.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="StepTwo_nonWorking_.genmodelfromecore.zip"

UEsDBAoAAAAAAPt2pTgAAAAAAAAAAAAAAAAfAAAAb3JnLmV4YW1wbGVzLmdl bm1vZGVsZnJv
bWVjb3JlL1BLAwQUAAAACAD2dqU49KWx0tAAAAB4AQAAKQAAAG9yZy5leGFt cGxlcy5nZW5t
b2RlbGZyb21lY29yZS8uY2xhc3NwYXRonZBPTwIxEMXPmvgdNr0zKxfjYVdi zJpAIhhYvZLS
TpaROi3TlsC3B/8QjQkcvM2b/Oa9l6kG23dXbFAiea5VH65VgWy8Je5q9dI+ 9m7V4O7qsjJO
xxh0Wh7ExY9CTrIrVsS2VlGMKj6WX2N5mjSej6SXDtA4ChHhzSZwOrNZHtJh NG3mD5Nxez8c
N9Py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RlbC9GaXJzdC5lY29yZVBLAQIUABQAAAAIABd4pThKlGPk7AMA AFUYAAAyAAAA
AAAAAAAAIAAAAIkFAABvcmcuZXhhbXBsZXMuZ2VubW9kZWxmcm9tZWNvcmUv bW9kZWwvRmly
c3QuZWNvcmVkaVBLAQIUABQAAAAIABt3pTiNNY+V2QAAAGsBAAAxAAAAAAAA AAAAIAAAAMUJ
AABvcmcuZXhhbXBsZXMuZ2VubW9kZWxmcm9tZWNvcmUvbW9kZWwvU2Vjb25k LmVjb3JlUEsB
AhQAFAAAAAgAG3elOD1CLNB8AgAABgoAADMAAAAAAAAAAAAgAAAA7QoAAG9y Zy5leGFtcGxl
cy5nZW5tb2RlbGZyb21lY29yZS9tb2RlbC9TZWNvbmQuZWNvcmVkaVBLAQIU ABQAAAAIAAZ4
pThSPcJk3AAAAGgBAAAwAAAAAAAAAAAAIAAAALoNAABvcmcuZXhhbXBsZXMu Z2VubW9kZWxm
cm9tZWNvcmUvbW9kZWwvVGhpcmQuZWNvcmVQSwECFAAUAAAACAAGeKU4ozeg 13wCAAAACgAA
MgAAAAAAAAAAACAAAADkDgAAb3JnLmV4YW1wbGVzLmdlbm1vZGVsZnJvbWVj b3JlL21vZGVs
L1RoaXJkLmVjb3JlZGlQSwECFAAUAAAACABFd6U4wGliYLMBAAD+AwAANAAA AAAAAAAAACAA
AACwEQAAb3JnLmV4YW1wbGVzLmdlbm1vZGVsZnJvbWVjb3JlL21vZGVsL1Vu aXF1ZS5nZW5t
b2RlbFBLAQIUAAoAAAAAAPZ2pTgAAAAAAAAAAAAAAAAjAAAAAAAAAAAAEAAA ALUTAABvcmcu
ZXhhbXBsZXMuZ2VubW9kZWxmcm9tZWNvcmUvc3JjL1BLBQYAAAAADwAPAEMF AAD2EwAAAAA=
--------------000202040405070306000704--
Re: work flow to update genmodel from ecore [message #418954 is a reply to message #418952] Mon, 05 May 2008 14:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Philipp,

With EMF 2.4, you can still reload the model if there are errors in it,
but we could automate this as well by assuming the user wants a new
GenPackage recreated for the. They can always use reload afterwards to
redirect it to an existing GenPackage. Please open a bugzilla.


Philipp W. Kutter wrote:
> Hi.
> Here is what does not work for us, when updating genmodel from ecore:
>
> - loading Unique.genmodel from a First.ecore file, which uses the
> EClasses of a second Second.ecore file.
> (see FirtStep_working_.....)
>
> - creating a third Third.ecore file, using its EClasses in
> First.ecore, and reload the Unique.genmodel.
>
> The second step leads to the situation, where I cannot open the
> ..genmodel file anymore.
> (see SecondStep_notWorking_.....)
>
> I get the following error:
> The package
> 'platform:/resource/org.examoples.gemodelfromecore/model/Thi rd.ecore#'
> is needed butg isn't accessible from the Generator model
>
> The only way I get this fixed is adding per hand an empty entry in the
> ..genmodel, but this could be automated.
>
> Best, Philipp
>
> Ed Merks wrote:
>> Gary,
>>
>> Comments below.
>>
>> gary wrote:
>>> Ed Merks wrote:
>>>
>>>> Gary,
>>>
>>>> This sounds like my latest addition to the FAQ:
>>>
>>>> 2.44 How do I update my Ecore and GenModel after the originating
>>>> model has changed?
>>>>
>>> < http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>
>>>
>>>
>>>
>>>> gary wrote:
>>>>> Dear All
>>>>>
>>>>> I am using python to generate an ecore model file and then
>>>>> building a genmodel from this. However, I seem to be having to
>>>>> create a new project each time I make the ecore-genmodel step
>>>>> using the recipe in the emf 2ed shortcuts book. Is there an easier
>>>>> way to update the genmodel from the ecore model?
>>>>>
>>>>> regards
>>>>> gary
>>>>>
>>> Hi Ed this seems to work mostly many thanks it really helps!
>>> However, there seems to be at least one or two problems
>>>
>>> 1. sometimes when I have had a failed reload (e.g. an error in the
>>> ecore) the whole thing will freeze the next time I reload
>> If it's failed, don't save the results. I'd need to be able to
>> reproduce this to fix it... You can invoke Validate on the root
>> EPackage of the .ecore directly, if you're editing .ecore directly
>> rather than importing from another model source, so it's best to
>> ensure your Ecore is valid before you start using it elsewhere.
>>> 2. I have a class which provides toString as an operation, now that
>>> in its self seems to be a problem because emf is adding an
>>> additional toString method to the output class. However, on top of
>>> that it is also adding an extra toString method each time I run an
>>> update (I think I have 12 clones of the method now ;-)!! so you can
>>> see reload does help me)
>> Again, I'd need to reproduce it to understand what's going on.
>> Likely we'd need to have special processing for "toString" since the
>> Impl class template will always generate a "toString" method so if
>> you've defined an operation for it two, I can see that it will want
>> to generate two. Please open a bugzilla for it.
>>> 3. update doesn't seem to rebuild the Meta-Inf/MANIFEST.MF file
>> Yes, the plugin.xml and the MANIFEST.MF don't regenerate. We don't
>> have merge support for them and we don't want to overwrite the user's
>> changes. There's a bugzilla for this already.
>>>
>>> to put some flesh on the bones I am running EMF 2.3.2.v200802051830
>>> on eclipse Version: 3.3.2 Build id: M20080221-1800 on a ubuntu 7.10
>>> Gutsy system
>>>
>>> regards and many thanks
>>> gary
>>>
>>> nb one side comment/ RFE is that it would be really nice to have
>>> some sort of 'run all' button on the first page of the reload dialog
>>> or a menu item that just took all the previous settings and did the
>>> whole thing without having to 'click through' as the models I am
>>> dealing with are large and I have to sit and wait for completion
>> Some folks are looking at having builders that do all the steps.
>>> a second one is that it would be neat to have reload as a right
>>> click on the genmodel object I think I might have found the reload
>>> without the e-mail and faq then
>> Open a bugzilla enhancement request and well consider it...
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: work flow to update genmodel from ecore [message #418955 is a reply to message #418952] Mon, 05 May 2008 16:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010004090609040905050309
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Philipp,

I've opened 230235 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=230235>


Philipp W. Kutter wrote:
> Hi.
> Here is what does not work for us, when updating genmodel from ecore:
>
> - loading Unique.genmodel from a First.ecore file, which uses the
> EClasses of a second Second.ecore file.
> (see FirtStep_working_.....)
>
> - creating a third Third.ecore file, using its EClasses in
> First.ecore, and reload the Unique.genmodel.
>
> The second step leads to the situation, where I cannot open the
> ..genmodel file anymore.
> (see SecondStep_notWorking_.....)
>
> I get the following error:
> The package
> 'platform:/resource/org.examoples.gemodelfromecore/model/Thi rd.ecore#'
> is needed butg isn't accessible from the Generator model
>
> The only way I get this fixed is adding per hand an empty entry in the
> ..genmodel, but this could be automated.
>
> Best, Philipp
>
> Ed Merks wrote:
>> Gary,
>>
>> Comments below.
>>
>> gary wrote:
>>> Ed Merks wrote:
>>>
>>>> Gary,
>>>
>>>> This sounds like my latest addition to the FAQ:
>>>
>>>> 2.44 How do I update my Ecore and GenModel after the originating
>>>> model has changed?
>>>>
>>> < http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_update_my _Ecore_and_GenModel_after_the_originating_model_has_changed. 3F>
>>>
>>>
>>>
>>>> gary wrote:
>>>>> Dear All
>>>>>
>>>>> I am using python to generate an ecore model file and then
>>>>> building a genmodel from this. However, I seem to be having to
>>>>> create a new project each time I make the ecore-genmodel step
>>>>> using the recipe in the emf 2ed shortcuts book. Is there an easier
>>>>> way to update the genmodel from the ecore model?
>>>>>
>>>>> regards
>>>>> gary
>>>>>
>>> Hi Ed this seems to work mostly many thanks it really helps!
>>> However, there seems to be at least one or two problems
>>>
>>> 1. sometimes when I have had a failed reload (e.g. an error in the
>>> ecore) the whole thing will freeze the next time I reload
>> If it's failed, don't save the results. I'd need to be able to
>> reproduce this to fix it... You can invoke Validate on the root
>> EPackage of the .ecore directly, if you're editing .ecore directly
>> rather than importing from another model source, so it's best to
>> ensure your Ecore is valid before you start using it elsewhere.
>>> 2. I have a class which provides toString as an operation, now that
>>> in its self seems to be a problem because emf is adding an
>>> additional toString method to the output class. However, on top of
>>> that it is also adding an extra toString method each time I run an
>>> update (I think I have 12 clones of the method now ;-)!! so you can
>>> see reload does help me)
>> Again, I'd need to reproduce it to understand what's going on.
>> Likely we'd need to have special processing for "toString" since the
>> Impl class template will always generate a "toString" method so if
>> you've defined an operation for it two, I can see that it will want
>> to generate two. Please open a bugzilla for it.
>>> 3. update doesn't seem to rebuild the Meta-Inf/MANIFEST.MF file
>> Yes, the plugin.xml and the MANIFEST.MF don't regenerate. We don't
>> have merge support for them and we don't want to overwrite the user's
>> changes. There's a bugzilla for this already.
>>>
>>> to put some flesh on the bones I am running EMF 2.3.2.v200802051830
>>> on eclipse Version: 3.3.2 Build id: M20080221-1800 on a ubuntu 7.10
>>> Gutsy system
>>>
>>> regards and many thanks
>>> gary
>>>
>>> nb one side comment/ RFE is that it would be really nice to have
>>> some sort of 'run all' button on the first page of the reload dialog
>>> or a menu item that just took all the previous settings and did the
>>> whole thing without having to 'click through' as the models I am
>>> dealing with are large and I have to sit and wait for completion
>> Some folks are looking at having builders that do all the steps.
>>> a second one is that it would be neat to have reload as a right
>>> click on the genmodel object I think I might have found the reload
>>> without the e-mail and faq then
>> Open a bugzilla enhancement request and well consider it...
>


--------------010004090609040905050309
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">
Philipp,<br>
<br>
I've opened <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=230235">230235</a><br>
<br>
<br>
Philipp W. Kutter wrote:
<blockquote cite="mid:fvn0n7$6nh$1@build.eclipse.org" type="cite">Hi.
<br>
Here is what does not work for us, when updating genmodel from ecore:
<br>
<br>
- loading Unique.genmodel from a First.ecore file, which uses the
EClasses of a second Second.ecore file.
<br>
(see FirtStep_working_.....)
<br>
<br>
- creating a third Third.ecore file, using its EClasses in First.ecore,
and reload the Unique.genmodel.
<br>
<br>
The second step leads to the situation, where I cannot open the
...genmodel file anymore.
<br>
(see SecondStep_notWorking_.....)
<br>
<br>
I get the following error:
<br>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: work flow to update genmodel from ecore [message #419321 is a reply to message #418896] Mon, 19 May 2008 09:31 Go to previous message
Eclipse UserFriend
Originally posted by: garyt.bmb.leeds.ac.uk

&gt; Gary,
&gt;
&gt; Comments below.
&gt;
&gt; gary wrote:
&gt; > Ed Merks wrote:
&gt; >
&gt; >> Gary,
&gt; >
&gt; >> This sounds like my latest addition to the FAQ:
&gt; >
&gt; >> 2.44 How do I update my Ecore and GenModel
&gt; after the originating
&gt; >> model has changed?
&gt; >>
&gt; >
&gt; <http://wiki.eclipse.org/index.php/EMF-FAQ#How_do_I_up
&gt; date_my_Ecore_and_GenModel_after_the_originating_model
&gt; _has_changed.3F>
&gt; >
&gt; >
&gt; >
&gt; >> gary wrote:
&gt; >>> Dear All
&gt; >>>
&gt; >>> I am using python to generate an ecore model file
&gt; and then building
&gt; >>> a genmodel from this. However, I seem to be
&gt; having to create a new
&gt; >>> project each time I make the ecore-genmodel step
&gt; using the recipe in
&gt; >>> the emf 2ed shortcuts book. Is there an easier
&gt; way to update the
&gt; >>> genmodel from the ecore model?
&gt; >>>
&gt; >>> regards
&gt; >>> gary
&gt; >>>
&gt; > Hi Ed this seems to work mostly many thanks it
&gt; really helps!
&gt; > However, there seems to be at least one or two
&gt; problems
&gt; >
&gt; > 1. sometimes when I have had a failed reload (e.g.
&gt; an error in the
&gt; > ecore) the whole thing will freeze the next time I
&gt; reload
&gt; If it's failed, don't save the results. I'd need to
&gt; be able to
&gt; reproduce this to fix it... You can invoke Validate
&gt; on the root
&gt; EPackage of the .ecore directly, if you're editing
&gt; .ecore directly
&gt; rather than importing from another model source, so
&gt; it's best to ensure
&gt; your Ecore is valid before you start using it
&gt; elsewhere.
&gt; > 2. I have a class which provides toString as an
&gt; operation, now that in
&gt; > its self seems to be a problem because emf is
&gt; adding an additional
&gt; > toString method to the output class. However, on
&gt; top of that it is
&gt; > also adding an extra toString method each time I
&gt; run an update (I
&gt; > think I have 12 clones of the method now ;-)!! so
&gt; you can see reload
&gt; > does help me)
&gt; Again, I'd need to reproduce it to understand what's
&gt; going on. Likely
&gt; we'd need to have special processing for "toString"
&gt; since the Impl class
&gt; template will always generate a "toString" method so
&gt; if you've defined
&gt; an operation for it two, I can see that it will want
&gt; to generate two.
&gt; Please open a bugzilla for it.

done https://bugs.eclipse.org/bugs/show_bug.cgi?id=232734

&gt; > 3. update doesn't seem to rebuild the
&gt; Meta-Inf/MANIFEST.MF file
&gt; Yes, the plugin.xml and the MANIFEST.MF don't
&gt; regenerate. We don't
&gt; have merge support for them and we don't want to
&gt; overwrite the user's
&gt; changes. There's a bugzilla for this already.
&gt; >
&gt; > to put some flesh on the bones I am running EMF
&gt; 2.3.2.v200802051830 on
&gt; > eclipse Version: 3.3.2 Build id: M20080221-1800 on
&gt; a ubuntu 7.10 Gutsy
&gt; > system
&gt; >
&gt; > regards and many thanks
&gt; > gary
&gt; >
&gt; > nb one side comment/ RFE is that it would be really
&gt; nice to have some
&gt; > sort of 'run all' button on the first page of the
&gt; reload dialog or a
&gt; > menu item that just took all the previous settings
&gt; and did the whole
&gt; > thing without having to 'click through' as the
&gt; models I am dealing
&gt; > with are large and I have to sit and wait for
&gt; completion
&gt; Some folks are looking at having builders that do all
&gt; the steps.
&gt; > a second one is that it would be neat to have
&gt; reload as a right click
&gt; > on the genmodel object I think I might have found
&gt; the reload without
&gt; > the e-mail and faq then
&gt; Open a bugzilla enhancement request and well consider
&gt; it...

done https://bugs.eclipse.org/bugs/show_bug.cgi?id=232740
Previous Topic:custom Label from a referenced reference (EMF-Recipe does not work)?
Next Topic:Problems resolving hexadecimal-coded URIs
Goto Forum:
  


Current Time: Fri Mar 29 02:09:28 GMT 2024

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

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

Back to the top