[
https://issues.jboss.org/browse/JBIDE-10743?page=com.atlassian.jira.plugi...
]
Hendy Irawan commented on JBIDE-10743:
--------------------------------------
Note to self, the check happens here around line 141:
{code}
./jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/WebModelPlugin.java:
getDefault().logError("Can't enable " + builderId + " support on
the project " + project.getName() + " without Java builder.");
//$NON-NLS-1$ //$NON-NLS-2$//$NON-NLS-3$
{code}
supposedly, it should be possible to simply replace this line:
{code}
if(JAVA_BUILDER_ID.equals(existing[i].getBuilderName())) {
{code}
with: (Scala's builder is "org.scala-ide.sdt.core.scalabuilder")
{code}
if(JAVA_BUILDER_ID.equals(existing[i].getBuilderName()) ||
"org.scala-ide.sdt.core.scalabuilder".equals(existing[i].getBuilderName())) {
{code}
Knowledge Base and CDI Builder not compatible with Scala project
----------------------------------------------------------------
Key: JBIDE-10743
URL:
https://issues.jboss.org/browse/JBIDE-10743
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Affects Versions: 3.3.0.M5
Reporter: Hendy Irawan
Assignee: Alexey Kazakov
Fix For: LATER
Create a Scala web project using Scala IDE.
A Scala project removes the Java builder because it also compiles the Java sources.
However, a project without Java builder is not supported by JBoss Tools:
{code}
./.bak_1.log:!MESSAGE Can't enable org.jboss.tools.jst.web.kb.kbbuilder support on
the project satukancinta-data without Java builder.
./.bak_1.log:!MESSAGE Can't enable org.jboss.tools.cdi.core.cdibuilder support on the
project satukancinta-data without Java builder.
{code}
Alternative builders should be supported by JBoss Tools, as long as it is compatible with
Java builder.
Similar issue might also apply to Groovy projects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira