Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] [question?] using the new version of henshin

Hi Simon,

if the attribute is of type String and you want to assign the constant "hahah" to it, the correct _expression_ would be:

body="hahah"

So if you want to use a string constant, you have to use the quotes.

Cheers,
Christian

Am 13.04.2012 21:15, schrieb sih:
hi i got a not-working example:
    this one is not related with profiling, is about add attributes to the nodes.

     add a comment to a flow final node.
if i put a attribute to the comment, the transformation will not working, if i delete the property in the comment node. the rule will work.
since any "real" uml models  will contain attributes, this should be corrected.

to avoid complexity, i did not apply any profile.
you can test it out with the attached files: root model : My1.uml   henshin file: uml_metamodel.henshin

yours sincerely,
 
Simon Han


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


Back to the top