[jboss-jira] [JBoss JIRA] (DROOLS-77) Can't build drools against JBTIS target platform (Eclipse 4.2 Juno)

Mark Proctor (JIRA) issues at jboss.org
Thu Jul 23 09:16:04 EDT 2015


     [ https://issues.jboss.org/browse/DROOLS-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor reassigned DROOLS-77:
----------------------------------

    Assignee: Petr Široký  (was: Mark Proctor)


> Can't build drools against JBTIS target platform (Eclipse 4.2 Juno)
> -------------------------------------------------------------------
>
>                 Key: DROOLS-77
>                 URL: https://issues.jboss.org/browse/DROOLS-77
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.0.0.Alpha9
>            Reporter: Nick Boldt
>            Assignee: Petr Široký
>
> 1. check out drools from master branch
> {code}
> git clone https://github.com/droolsjbpm/droolsjbpm-tools
> {code}
> 2. apply this patch to change root pom to build against Eclipse 4.2 Juno requirements (the JBTIS target platform) instead of Eclipse 3.6 Helios (2+ years old)
> {code}
> git apply https://github.com/droolsjbpm/droolsjbpm-tools/pull/16
> {code}
> 3. build
> {code}
> mvn clean install 
> {code}
> 4. fail:
> {code}
> [INFO] 
> [INFO] Drools and jBPM Tools multiproject ................ SUCCESS [35.006s]
> [INFO] Drools, jBPM and Guvnor plugins for Eclipse ....... SUCCESS [0.485s]
> [INFO] Drools :: Eclipse :: Base ......................... SUCCESS [1:14.467s]
> [INFO] Drools :: Eclipse :: Base feature ................. SUCCESS [0.438s]
> [INFO] Drools :: Eclipse :: Base test .................... FAILURE [9.853s]
> [INFO] Drools :: Eclipse :: Webdav for Guvnor tools ...... SUCCESS [0.983s]
> [INFO] Drools :: Eclipse :: Guvnor tools ................. SUCCESS [0.737s]
> [INFO] Drools :: Eclipse :: Guvnor tools feature ......... SUCCESS [0.284s]
> [INFO] Drools :: Eclipse :: Guvnor tools test ............ SUCCESS [3.825s]
> [INFO] jBPM :: Eclipse :: Base ........................... SUCCESS [6.604s]
> [INFO] jBPM :: Eclipse :: Base feature ................... SUCCESS [0.364s]
> [INFO] jBPM :: Eclipse :: Task ........................... SUCCESS [36.727s]
> [INFO] jBPM :: Eclipse :: Task feature ................... SUCCESS [0.379s]
> [INFO] org.jboss.tools.runtime.drools.detector ........... FAILURE [0.213s]
> [INFO] org.jboss.tools.runtime.drools.detector.feature ... SKIPPED
> [INFO] Drools :: Eclipse :: Update site .................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6:25.314s
> [INFO] Finished at: Tue Mar 12 13:06:54 EDT 2013
> [INFO] Final Memory: 115M/504M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on project org.drools.eclipse.test: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.drools.eclipse.test/target/surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0:compile (default-compile) on project org.jboss.tools.runtime.drools.detector: Compilation failure: Compilation failure:
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[24,0]
> [ERROR] public class DroolsHandler extends AbstractRuntimeDetector {
> [ERROR] ^^^^^^^^^^^^^
> [ERROR] The type DroolsHandler must implement the inherited abstract method IRuntimeDetectorDelegate.getVersion(RuntimeDefinition)
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[24,0]
> [ERROR] public class DroolsHandler extends AbstractRuntimeDetector {
> [ERROR] ^^^^^^^^^^^^^
> [ERROR] The type DroolsHandler must implement the inherited abstract method IRuntimeDetectorDelegate.computeIncludedRuntimeDefinition(RuntimeDefinition)
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[24,0]
> [ERROR] public class DroolsHandler extends AbstractRuntimeDetector {
> [ERROR] ^^^^^^^^^^^^^
> [ERROR] The type DroolsHandler must implement the inherited abstract method IRuntimeDetectorDelegate.getRuntimeDefinition(File, IProgressMonitor)
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[64,0]
> [ERROR] initializeInternal(serverDefinition.getIncludedServerDefinitions(),
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method getIncludedServerDefinitions() is undefined for the type RuntimeDefinition
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[88,0]
> [ERROR] public RuntimeDefinition getServerDefinition(File root,
> [ERROR] IProgressMonitor monitor) {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method getServerDefinition(File, IProgressMonitor) of type DroolsHandler must override or implement a supertype method
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[103,0]
> [ERROR] String version = getImplementationVersion(root, files[0]);
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method getImplementationVersion(File, String) is undefined for the type DroolsHandler
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-40x/droolsjbpm-tools/drools-eclipse/org.jboss.tools.runtime.drools.detector/src/org/jboss/tools/runtime/handlers/DroolsHandler.java:[133,0]
> [ERROR] serverDefinition.getIncludedServerDefinitions().add(sd);
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method getIncludedServerDefinitions() is undefined for the type RuntimeDefinition
> [ERROR] 7 problems (7 errors)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list