Skip to main content



      Home
Home » Eclipse Projects » Sirius » Label-related error message in Sirius 4.0.0
Label-related error message in Sirius 4.0.0 [message #1735832] Thu, 23 June 2016 03:31 Go to next message
Eclipse UserFriend
Hi all,

after updating to Sirius 4.0.0 several labels show a "Invalid feature as
name" message.
This affects label which do not show a certain feature, but a static
string, like the following:

aql:'FIELDS'

How do I need to change these to bypass the problem?

Thanks,

Axel
Re: Label-related error message in Sirius 4.0.0 [message #1735856 is a reply to message #1735832] Thu, 23 June 2016 06:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Axel,

It's maybe because your AQL version was not correctly updated.
Could you check that the AQL version is 4.0, for that, menu
Help/Installation details, in plugins tabs search aql, the version must
be 4.0.0.
If AQL version is wrong, update it!

Regards,


--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Label-related error message in Sirius 4.0.0 [message #1735898 is a reply to message #1735856] Thu, 23 June 2016 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi Julien,

in my target platform I have the following file:

org.eclipse.sirius.common.acceleo.aql_4.0.0.201605311157.jar

which is the same version as the one which is activated in my product's
launch configuration.

Actually my expression is not just "aql:'FIELDS'", but:

aql:if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS'

Has anything changed with regards to the syntax maybe?

Regards,

Axel


Am 23.06.2016 um 12:35 schrieb Julien DUPONT:
> Hi Axel,
>
> It's maybe because your AQL version was not correctly updated.
> Could you check that the AQL version is 4.0, for that, menu
> Help/Installation details, in plugins tabs search aql, the version must
> be 4.0.0.
> If AQL version is wrong, update it!
>
> Regards,
>
>
Re: Label-related error message in Sirius 4.0.0 [message #1735908 is a reply to message #1735898] Thu, 23 June 2016 09:42 Go to previous messageGo to next message
Eclipse UserFriend
It seems that, the AQL expression is wrong.
The expression should be

aql: if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS' endif

Regards,


--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Label-related error message in Sirius 4.0.0 [message #1735915 is a reply to message #1735908] Thu, 23 June 2016 10:37 Go to previous message
Eclipse UserFriend
You are right, I oversaw that.

Thanks for the pointer and sorry for the confusion.

Axel


Am 23.06.2016 um 15:42 schrieb Julien DUPONT:
> It seems that, the AQL expression is wrong.
> The expression should be
>
> aql: if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS' endif
>
> Regards,
>
>
Previous Topic:creating element based edge
Next Topic:Serializing the diagram objects and saving in the xml file
Goto Forum:
  


Current Time: Thu Mar 27 15:34:40 EDT 2025

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

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

Back to the top