zazuko / xrm

A friendly language for mappings to RDF
MIT License
1 stars 0 forks source link

Changing the value of a shared template does not trigger re-generation of dependent mappings #116

Open mchlrch opened 3 years ago

mchlrch commented 3 years ago

Observed in editor runtime platform Eclipse

Clone https://github.com/mchlrch/xrm-csvw-workflow-playground/commit/2756f1481776cd699960b4f0b1eef8b5fd11b604

Changing the value of adressIriTemplate in file "mappings/Testuser_address.xrm" followed by saving the file automatically re-generates the file "src-gen/Testuser_address.csv.meta.json". This is correct.

output csvw

template adressIriTemplate "http://example42.com/User/{0}#address"

map UserAddress from Testuser_address {
...

On the other hand, Project > Clean is required to re-generate the output file of the dependent mapping "src-gen/Testuser.csv.meta.json" with the updated template value. This should also happen automatically after save.