[jbosstools-issues] [JBoss JIRA] (JBIDE-15589) fix compilation error in openshift

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon Sep 30 08:45:02 EDT 2013


Andre Dietisheim created JBIDE-15589:
----------------------------------------

             Summary: fix compilation error in openshift
                 Key: JBIDE-15589
                 URL: https://issues.jboss.org/browse/JBIDE-15589
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.2.0.Alpha1
            Reporter: Andre Dietisheim
            Assignee: Andre Dietisheim
             Fix For: 4.2.0.Alpha1


Jenkins is red for openshift-master since 3 days:

{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[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]
{code}

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

{code: Alexey Karsakov on the 2013-9-27 [JBIDE-15348]}
+++ 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;
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list