|Re: Disable language support for project [message #1724129 is a reply to message #1724126]
||Sun, 21 February 2016 14:46
| Peter Luthardt
Registered: February 2014
Jan Koehnlein wrote on Sun, 21 February 2016 08:57|
I don't quite get it yet.
1) There is only one single builder for all Xtext languages, so no such thing as a "used language" from the builder's perspective.
2) What is the difference between "depending on" another language and "using" it?
3) The auto-builder runs for changed resources only. Have you disabled "Build automatically"? May not be a good idea to do only full builds if you're they are slow.
4) The builder only resolves cross-references directly from changed files, but not transitively. This is necessary and shouldn't be disabled.
5) As long as a project does not contain any resource of a given language, it will not build it.
1.) Thanks for clarification
2.) The languages only uses the generated java classes of the other language. So there is no direct dependency on language level. If project A depends on project B, but does not uses the language used in project B, but only the generated java classes. (The bad thing is that project C depends on A and needs to have access to model of project B. I thought of creating two artifacts one java.jar and one model.jar, so each project can decide if it needs the model ore not.)
3.) I have to run a full build quite often, as I have an ugly structure, that I have to create some build script which needs to read the whole model and this is not triggered when I change one file of the model.
5.) This is not my experience. When the project contains resources in the class path, which do not belong to sources of the project, than these resources are loaded when I run a full build.
Powered by FUDForum
. Page generated in 0.02843 seconds