How to force hawk to follow package structure [message #1841003] |
Fri, 30 April 2021 03:37  |
Eclipse User |
|
|
|
Hi
I'm using hawk as a source model in a transformation. I facing a difference between how 'plain' epsilon source model works and hawk as source model.
The example in attachment shows illustrates my problem. The rule definition:
rule aRule transform s: IN!company::Company to t : OUT!companyTab::CompanyTab {
t.col1 = s.name + "_transformed_" + s.isHeadquarter;
}
works fine in plain epsilon, but not with hawk. If change 's: IN!company::Company' to 's: IN!Company' it works in both cases. Now, the first FQN complies with the model definition, hence I would expect to also work in hawk. Maybe I'm missing something...
Thank you for your help and kind regards
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04504 seconds