|extension of the dsl files [message #872157]
||Tue, 15 May 2012 15:05
| Aran A
Registered: January 2011
I'm woking with the tutorial, I've just created a new xText project with the 'Greetings' example. Everything is OK, but I have a doubt.
Following the tutorial, in the specification of the project I have written that the extension of my dsl will be 'dmodel' (without quotes). Now if I wanted to change the extension of my dsl files, e.g. to be 'dml', what should I change in the generated files and/or projects?
I have tried to change the file.extensions variable of *.mwe2 generator file and then run the mwe2 workflow. It doesn't work.
Then I've tried to change the extensions variable of plugin.xml file of *.ui project. Apparently it works, but I'm not sure if that has any sense, or, if it works by chance, and if I changed the context, it wouldn't work.
[note: By the way, if I put different strings in the *.mwe2 generator (then running the mwe2 workflow) and in the plugin.xml, the dsl file must have the extension specified in the latter. ]
Could you help me? Thanks in advance...
Powered by FUDForum
. Page generated in 0.02478 seconds