[generator2] don't complain about missing outlets

This commit is contained in:
Stefan Oehme 2015-10-21 09:04:37 +02:00
parent ea92173b37
commit 8f6be88c7a

View file

@ -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.')
}