mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
[generator2] don't complain about missing outlets
This commit is contained in:
parent
ea92173b37
commit
8f6be88c7a
1 changed files with 0 additions and 8 deletions
|
@ -195,14 +195,6 @@ class WebIntegrationFragment extends AbstractXtextGeneratorFragment {
|
|||
super.checkConfiguration(issues)
|
||||
if (framework === null)
|
||||
issues.addError('The property \'framework\' is required.')
|
||||
if (generateJsHighlighting && projectConfig.web.assets === null)
|
||||
issues.addWarning('The \'webApp\' outlet is not defined in the project configuration; JS syntax highlighting is disabled.')
|
||||
if (generateServlet && projectConfig.web.src === null)
|
||||
issues.addWarning('The \'web.src\' outlet is not defined in the project configuration; the generated servlet is disabled.')
|
||||
if (generateJettyLauncher && projectConfig.web.src === null)
|
||||
issues.addWarning('The \'web.src\' outlet is not defined in the project configuration; the Jetty launcher is disabled.')
|
||||
if (generateHtmlExample && projectConfig.web.assets === null)
|
||||
issues.addWarning('The \'webApp\' outlet is not defined in the project configuration; the example HTML page is disabled.')
|
||||
for (pattern : enabledPatterns.filter[suppressedPatterns.contains(it)]) {
|
||||
issues.addError('The pattern \'' + pattern + '\' cannot be enabled and suppressed.')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue