|Xtext 2.3 Nature and Builder Issues [message #938990]
||Wed, 10 October 2012 06:28
| Sam Spring
Registered: October 2012
I hope someone can help me with this. My knowledge of Xtext is not excellant so please bare with me.
I have a question regarding Xtext natures, builders and marker creation.
Eclipse Version: Indigo
Xtext Version: 2.3
Xtext Project size: 100+ files
I have migrated my software from xtext 0.7 to 2.3 and when using xtext 0.7 I did not have to add an Xtext nature to the project and the xtext FAST checks were only triggered when an xtext editor was opened and the NORMAL checks were run when the file was saved. Both checks created problems view markers. After upgrading to xtext 2.3 the checks are only visible in the editor and no problems view markers are created for the FAST and NORMAL checks.
1) For xtext 2.3 do I "now" have to apply an Xtext nature to the whole project? I assume this is the case becuase without doing so no markers are created? I applied the xtext nature to the project and now the markers are created.
2) Is it possible to apply an xtext nature to an editor only when it is opened rather than applying the nature to the whole project so it will work the same as when I was using xtext 0.7.
3) From what I have read apparently xtext has changed so that the builder now creates the markers and the builder is initialised automatically when a nature is added. The issue I have with this is that all xtext fast and normal checks are run on all xtext editors when the project is created and becuase I have 100+ editors project creation takes longer.
Thanks in advance for your help.....
Powered by FUDForum
. Page generated in 0.01806 seconds