Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Can't regenerate with GMF 1.0.1
Can't regenerate with GMF 1.0.1 [message #58659] Tue, 03 October 2006 09:13 Go to next message
Eclipse UserFriend
Originally posted by: contact.noelios.com

Hi,

I've just upgraded to Eclipse/Callisto 3.2.1 and when I try to
regenerate my "*.gmfgen" files from the map files, I get some weird
errors (see below).

Any idea how to fix them?

Thanks,
Jerome


Diagnosis of
org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl@1f523a3 {platform:/resource/com.supplyinsight.designer/model/source. gmfgen#Source}
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
The feature is already initialized by another 'GenFeatureValueSpec'
in the sequence
Re: Can't regenerate with GMF 1.0.1 [message #58683 is a reply to message #58659] Tue, 03 October 2006 10:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jerome,

It looks like your *.gmfgen contains a GenFeatureSeqInitializer with
multiple GenFeatureValueSpec
elements bound to the same feature.

Regards,
/Radek

On Tue, 03 Oct 2006 15:13:29 +0200, Jerome Louvel <contact@noelios.com>
wrote:

> Hi,
>
> I've just upgraded to Eclipse/Callisto 3.2.1 and when I try to
> regenerate my "*.gmfgen" files from the map files, I get some weird
> errors (see below).
>
> Any idea how to fix them?
>
> Thanks,
> Jerome
>
>
> Diagnosis of
> org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl@1f523a3 {platform:/resource/com.supplyinsight.designer/model/source. gmfgen#Source}
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence
> The feature is already initialized by another 'GenFeatureValueSpec'
> in the sequence



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Can't regenerate with GMF 1.0.1 [message #58761 is a reply to message #58683] Tue, 03 October 2006 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: contact.noelios.com

Hi Radek,

That's true, I have multiple sections like that in my *.gmfgen file:

<domainInitializer
xsi:type="gmfmap:FeatureSeqInitializer">
<initializers
body="ReaderType::Alien">
<feature
xsi:type="ecore:EAttribute"
href="model.ecore#//Reader/type"/>
</initializers>
<initializers
body="'Reader'">
<feature
xsi:type="ecore:EAttribute"
href="model.ecore#//Reader/name"/>
</initializers>
</domainInitializer>

Now my question is: how can we initialize two different attributes of
the same element in a map file?

Thanks,
Jerome


Radek Dvorak a écrit :
> Hi Jerome,
>
> It looks like your *.gmfgen contains a GenFeatureSeqInitializer with
> multiple GenFeatureValueSpec
> elements bound to the same feature.
>
> Regards,
> /Radek
Re: Can't regenerate with GMF 1.0.1 [message #58785 is a reply to message #58761] Tue, 03 October 2006 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Jerome,

You can 'initialize two different attributes of the same element in a map
file'.
But you can not initialize the same attribute multiple times in a single
FeatureSeqInitializer
instance. There always was such a constraint.

Could you post please a corresponding fragment from your gmfgen, which
causes the problems?

/Radek

On Tue, 03 Oct 2006 16:30:43 +0200, Jerome Louvel <contact@noelios.com>
wrote:

> Hi Radek,
>
> That's true, I have multiple sections like that in my *.gmfgen file:
>
> <domainInitializer
> xsi:type="gmfmap:FeatureSeqInitializer">
> <initializers
> body="ReaderType::Alien">
> <feature
> xsi:type="ecore:EAttribute"
> href="model.ecore#//Reader/type"/>
> </initializers>
> <initializers
> body="'Reader'">
> <feature
> xsi:type="ecore:EAttribute"
> href="model.ecore#//Reader/name"/>
> </initializers>
> </domainInitializer>
>
> Now my question is: how can we initialize two different attributes of
> the same element in a map file?
>
> Thanks,
> Jerome
>
>
> Radek Dvorak a écrit :
>> Hi Jerome,
>> It looks like your *.gmfgen contains a GenFeatureSeqInitializer with
>> multiple GenFeatureValueSpec
>> elements bound to the same feature.
>> Regards,
>> /Radek



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Can't initialize multiple attributes (Was: Can't regenerate with GMF 1.0.1) [message #58810 is a reply to message #58785] Tue, 03 October 2006 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: contact.noelios.com

Radek,

Ok, this is probably not a 1.0 -> 1.0.1 related issue then. I now
remember that I was adding these extra initializations just before
upgrading: sorry for the confusion.

As for the fragment, the one that I gave in my previous email has the
problem:
- first attribute: "model.ecore#//Reader/type"
- second attribute: "model.ecore#//Reader/name"

Am I missing something obvious?

Thanks,
Jerome


Radek Dvorak wrote :
> Jerome,
>
> You can 'initialize two different attributes of the same element in a
> map file'.
> But you can not initialize the same attribute multiple times in a single
> FeatureSeqInitializer
> instance. There always was such a constraint.
>
> Could you post please a corresponding fragment from your gmfgen, which
> causes the problems?
>
> /Radek
>
> On Tue, 03 Oct 2006 16:30:43 +0200, Jerome Louvel <contact@noelios.com>
> wrote:
>
>> Hi Radek,
>>
>> That's true, I have multiple sections like that in my *.gmfgen file:
>>
>> <domainInitializer
>> xsi:type="gmfmap:FeatureSeqInitializer">
>> <initializers
>> body="ReaderType::Alien">
>> <feature
>> xsi:type="ecore:EAttribute"
>> href="model.ecore#//Reader/type"/>
>> </initializers>
>> <initializers
>> body="'Reader'">
>> <feature
>> xsi:type="ecore:EAttribute"
>> href="model.ecore#//Reader/name"/>
>> </initializers>
>> </domainInitializer>
>>
>> Now my question is: how can we initialize two different attributes of
>> the same element in a map file?
>>
>> Thanks,
>> Jerome
Re: Can't initialize multiple attributes (Was: Can't regenerate with GMF 1.0.1) [message #58887 is a reply to message #58810] Tue, 03 October 2006 11:24 Go to previous messageGo to next message
Eclipse UserFriend
What I had in mind is a fragment of your gmfgen model as your original =

post contains
'Diagnosis of =

org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl@1f523a3{platf=
orm:/resource/com.supplyinsight.designer/model/source.gmfgen #Source}'

Your gmfmap part looks OK, so I believe there is some sort of discrepanc=
y =

in the gmfgen.
Or do you get any problem markers also for the .gmfmap model?

/Radek

On Tue, 03 Oct 2006 16:52:31 +0200, Jerome Louvel <contact@noelios.com> =
=

wrote:

> Radek,
>
> Ok, this is probably not a 1.0 -> 1.0.1 related issue then. I now =

> remember that I was adding these extra initializations just before =

> upgrading: sorry for the confusion.
>
> As for the fragment, the one that I gave in my previous email has the =
=

> problem:
> - first attribute: "model.ecore#//Reader/type"
> - second attribute: "model.ecore#//Reader/name"
>
> Am I missing something obvious?
>
> Thanks,
> Jerome
>
>
> Radek Dvorak wrote :
>> Jerome,
>> You can 'initialize two different attributes of the same element in=
a =

>> map file'.
>> But you can not initialize the same attribute multiple times in a =

>> single FeatureSeqInitializer
>> instance. There always was such a constraint.
>> Could you post please a corresponding fragment from your gmfgen, whi=
ch =

>> causes the problems?
>> /Radek
>> On Tue, 03 Oct 2006 16:30:43 +0200, Jerome Louvel =

>> <contact@noelios.com> wrote:
>>
>>> Hi Radek,
>>>
>>> That's true, I have multiple sections like that in my *.gmfgen file:=

>>>
>>> <domainInitializer
>>> xsi:type=3D"gmfmap:FeatureSeqInitializer">
>>> <initializers
>>> body=3D"ReaderType::Alien">
>>> <feature
>>> xsi:type=3D"ecore:EAttribute"
>>> href=3D"model.ecore#//Reader/type"/>
>>> </initializers>
>>> <initializers
>>> body=3D"'Reader'">
>>> <feature
>>> xsi:type=3D"ecore:EAttribute"
>>> href=3D"model.ecore#//Reader/name"/>
>>> </initializers>
>>> </domainInitializer>
>>>
>>> Now my question is: how can we initialize two different attributes o=
f =

>>> the same element in a map file?
>>>
>>> Thanks,
>>> Jerome



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Can't initialize multiple attributes (Was: Can't regenerate with GMF 1.0.1) [message #58937 is a reply to message #58887] Tue, 03 October 2006 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: contact.noelios.com

I've just sent you by email all my model files to help you isolate the
actual issue.

Thanks,
Jerome


Radek Dvorak wrote:
>
> What I had in mind is a fragment of your gmfgen model as your original
> post contains
> 'Diagnosis of
> org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl@1f523a3 {platform:/resource/com.supplyinsight.designer/model/source. gmfgen#Source}'
>
>
> Your gmfmap part looks OK, so I believe there is some sort of
> discrepancy in the gmfgen.
> Or do you get any problem markers also for the .gmfmap model?
>
> /Radek
Re: Can't initialize multiple attributes (Was: Can't regenerate with GMF 1.0.1) [message #59593 is a reply to message #58937] Thu, 05 October 2006 10:08 Go to previous message
Eclipse UserFriend
Jerome, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=159879

"Jerome Louvel" <contact@noelios.com> wrote in message
news:efu288$ok6$1@utils.eclipse.org...
> I've just sent you by email all my model files to help you isolate the
> actual issue.
>
> Thanks,
> Jerome
>
>
> Radek Dvorak wrote:
>>
>> What I had in mind is a fragment of your gmfgen model as your original
>> post contains
>> 'Diagnosis of
>> org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl@1f523a3 {platform:/resource/com.supplyinsight.designer/model/source. gmfgen#Source}'
>> Your gmfmap part looks OK, so I believe there is some sort of discrepancy
>> in the gmfgen.
>> Or do you get any problem markers also for the .gmfmap model?
>>
>> /Radek
Previous Topic:Link appearance
Next Topic:Could there be no scroll pane in compartment?
Goto Forum:
  


Current Time: Thu May 08 02:23:47 EDT 2025

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

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

Back to the top