Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15589

fix compilation error in openshift


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Alpha1
    • 4.2.0.Alpha1
    • openshift
    • None

      Jenkins is red for openshift-master since 3 days:

      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 47.448s
      [INFO] Finished at: Mon Sep 30 14:21:53 CEST 2013
      [INFO] Final Memory: 62M/747M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.1:compile (default-compile) on project org.jboss.tools.openshift.express.ui: Compilation failure: Compilation failure:
      [ERROR] /home/adietish/jboss-workspaces/jbosstools-github/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java:[60,0]
      [ERROR] if ((result == CheckboxMessageDialog.INCLUDE_APPS) || (result == MessageDialog.OK)) {
      [ERROR] ^^^^^^^^^^^^
      [ERROR] INCLUDE_APPS cannot be resolved or is not a field
      [ERROR] /home/adietish/jboss-workspaces/jbosstools-github/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java:[63,0]
      [ERROR] final boolean includeApps = ((result & CheckboxMessageDialog.INCLUDE_APPS) > 0);
      [ERROR] ^^^^^^^^^^^^
      [ERROR] INCLUDE_APPS cannot be resolved or is not a field
      [ERROR] 2 problems (2 errors)
      [ERROR] -> [Help 1]

      The compilation error is caused by a commit in jbosstools-base which renamed INCLUDE_APPS to CHECKBOX_SELECTED.

      Unable to find source-code formatter for language: alexey karsakov on the 2013-9-27 [jbide-15348]. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      +++ b/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/dialog/CheckboxMessageDialog.java
      @@ -30,10 +30,10 @@
       public class CheckboxMessageDialog extends MessageDialog {
      -    public static final int INCLUDE_APPS = 2;
      +    public static final int CHECKBOX_SELECTED = 2;

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            0 Vote for this issue
            1 Start watching this issue