DSL file dependency [message #814299] |
Tue, 06 March 2012 09:30 |
Andy Ma Messages: 12 Registered: August 2011 |
Junior Member |
|
|
Hi Xtext Developers,
I have a xtext project contains many DSL files, the file extension is "ced", I create the generator to generate these DSL files to a xml file.
I have files:
base.ced
main.ced
I defined the "importURL" fragment in my xtext grammar, so I can import other files in my DSL file, here main.ced include base.ced.
When running my xtext project application in eclipse, I can edit my DSL files. Now main.ced depends on base.ced, I want the generator automatically generate main.ced to xml file when base.ced file is modified. It seems the generator can only get resource of the modified file base.ced, not the dsl file which depend on it, how do I notify the generator the it should deal with all the dsl files which depend on it?
I hope there's some one can help me solve this issue. Thanks.
[Updated on: Wed, 07 March 2012 05:01] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02941 seconds