Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-77

Can't build drools against JBTIS target platform (Eclipse 4.2 Juno)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 6.0.0.Alpha9
    • None
    • None

    Description

      1. check out drools from master branch

      git clone https://github.com/droolsjbpm/droolsjbpm-tools
      

      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)

      git apply https://github.com/droolsjbpm/droolsjbpm-tools/pull/16
      

      3. build

      mvn clean install 
      

      4. fail:

      [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)
      

      Attachments

        Activity

          People

            psiroky_jira Petr Široký (Inactive)
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: