[EEF] Label of Group widget is not generated [message #674644] |
Fri, 27 May 2011 13:18  |
Eclipse User |
|
|
|
Hello,
I think I am running into a bug but I am not sure. I am using Eclipse 3.7.rc1(I20110512-2000) and EEF 0.9.0 release(v20110429-0823).
I start with brand new EEF models that I got by clicking on Initialize EEF Editor on my .ecore file. Then I run the Generate EEF architecture on the .eefgen model associated to the .components model of my ecore (not the one associated to the editor, they are different).
Once all the architecture is generated all the classes in the xxx.parts.forms and xxx.parts.impl packages display the same error. It looks like this:
SmmMessages.AggregatedMeasurementPropertiesEditionPart_PropertiesGroupLabel cannot be resolved or is not a field
SmmMessages is the class that contains all the externalized String generated. A look at this file shows that it is missing all the xxx_PropertiesGroupLabel String.
Also I have this as a warning in the log file for each class:
org.eclipse.acceleo.engine.AcceleoEvaluationException: Undefined guard group.representation.name.=('Group') at line 34 in Module ContextMessages for block for (viewsRepository.eAllContents(views::Container)) separator('
') ? (group.representation.name.=('Group')). Last recorded value of self was org.eclipse.emf.eef.views.impl.ViewImpl@732d5e15 (documentation: null) (name: Annotation) (explicit: true).
at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:34)
at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:20)
at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:18)
I didn't have this problem before I moved to the 0.9.0 release version, I check that the previous version of the SmmMessages class contains all the xxx_PropertiesGroupLabel messages.
So am I missing something or this is really a bug?
Thanks.
|
|
|
Re: [EEF] Label of Group widget is not generated [message #682034 is a reply to message #674644] |
Fri, 10 June 2011 05:05  |
Eclipse User |
|
|
|
Originally posted by:
Hi Nathalie,
We were in the rush for EEF Rc4 ( final ).
We've fixed this, so you can download the latest stable build to
re-generates your code.
Le 27/05/2011 19:18, Nathalie a écrit :
> Hello,
> I think I am running into a bug but I am not sure. I am using Eclipse
> 3.7.rc1(I20110512-2000) and EEF 0.9.0 release(v20110429-0823).
>
> I start with brand new EEF models that I got by clicking on Initialize
> EEF Editor on my .ecore file. Then I run the Generate EEF architecture
> on the .eefgen model associated to the .components model of my ecore
> (not the one associated to the editor, they are different).
> Once all the architecture is generated all the classes in the
> xxx.parts.forms and xxx.parts.impl packages display the same error. It
> looks like this:
>
>
> SmmMessages.AggregatedMeasurementPropertiesEditionPart_PropertiesGroupLabel
> cannot be resolved or is not a field
>
>
> SmmMessages is the class that contains all the externalized String
> generated. A look at this file shows that it is missing all the
> xxx_PropertiesGroupLabel String.
>
> Also I have this as a warning in the log file for each class:
>
>
> org.eclipse.acceleo.engine.AcceleoEvaluationException: Undefined guard
> group.representation.name.=('Group') at line 34 in Module
> ContextMessages for block for
> (viewsRepository.eAllContents(views::Container)) separator('
> ') ? (group.representation.name.=('Group')). Last recorded value of self
> was org.eclipse.emf.eef.views.impl.ViewImpl@732d5e15 (documentation:
> null) (name: Annotation) (explicit: true).
>
> at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:34)
>
> at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:20)
>
> at ContextMessages.ContextMessages(ViewsRepository)(ContextMessages.mtl:18)
>
>
> I didn't have this problem before I moved to the 0.9.0 release version,
> I check that the previous version of the SmmMessages class contains all
> the xxx_PropertiesGroupLabel messages.
>
> So am I missing something or this is really a bug?
>
> Thanks.
--
Cheers,
Stéphane Bouchet, OBEO
|
|
|
Powered by
FUDForum. Page generated in 0.03280 seconds