[
https://issues.jboss.org/browse/JBIDE-12365?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-12365:
----------------------------------------
As I said you don't need to disable KB validation for every project in your worspace.
Just disable it Preferences -> JBoss Tools -> Web -> Knowledge Base ->
Validator and clean/rebuild your workspace. If you already have some warnings then this
won't help (when you disable validation, the old warning are not removed). I have
created a new issue for that bug - JBIDE-20913
As workaround you can set "Capabilities are not enabled in Java uitl module" to
"Ignore" in Preferences -> JBoss Tools -> Web -> Knowledge Base ->
Validator. Then clean/rebuild the workspace. It will remove the validtion warnings.
KB is not for JSF2 only. It's more general and used by JSF, Batch and some other
tooling too.
JBoss Tools maven integration enables KB for Java EE maven projects automatically. You can
disable this integration in Preferences -> JBoss Tools -> Maven integration.
Seam, CDI, JSF integration it's what you need to disable if you don't want JBoss
Tools automatically configure the corresponding maven projects.
Enable JBoss Tools Knowledge Base support for dependencies
----------------------------------------------------------
Key: JBIDE-12365
URL:
https://issues.jboss.org/browse/JBIDE-12365
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: maven
Affects Versions: 3.3.0.Final
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: LATER
Suppose we have two maven projects.
One is CDI/Seam/JSF (any kind of project that requires KB builder/nature).
The other is a plain java project.
The first one includes the second one as a dependency.
When our maven intergration plugins enables CDI/Seam/JSF they also should enable KB
support for all the dependencies (direct or indirect ones).
You can enable KB via org.jboss.tools.jst.web.kb.WebKbPlugin.enableKB(IProject project,
IProgressMonitor monitor)
So CDI/Seam/JSF (KB included) should be enabled for the first project.
And KB should be enabled for the second one.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)