[jbosstools-issues] [JBoss JIRA] (JBIDE-17218) [compilation]fix openshift build

Andre Dietisheim (JIRA) issues at jboss.org
Wed Apr 30 04:50:34 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964618#comment-12964618 ] 

Andre Dietisheim commented on JBIDE-17218:
------------------------------------------

[~rob.stryker] You deprecated org.jboss.ide.eclipse.as.ui.UIUtil but no indication what's replacing it?
                
> [compilation]fix openshift build
> --------------------------------
>
>                 Key: JBIDE-17218
>                 URL: https://issues.jboss.org/browse/JBIDE-17218
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: openshift
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Denis Golovin
>            Priority: Blocker
>
> openshif buiild is broken right now
> {code}[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.20.0:compile (default-compile) on project org.jboss.tools.openshift.express.ui: Compilation failure: Compilation failure:
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[53]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyButtonCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyButtonCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[54]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyComboCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyComboCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[55]
> [ERROR] import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyCommand;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.jboss.ide.eclipse.as.ui.editor.ServerWorkingCopyPropertyCommand cannot be resolved
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[221]
> [ERROR] browseDestButton.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, null, 0, 100, 0));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[223]
> [ERROR] deployFolderText.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, 0, 0, browseDestButton, -5));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[240]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetProjectCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[247]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetOverrideCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetOverrideCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[254]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetRemoteCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetRemoteCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[260]
> [ERROR] ((ServerEditorPartInput) input).getServerCommandManager().execute(new SetDeployFolderCommand(server));
> [ERROR] ^^^^^^^
> [ERROR] The method execute(IUndoableOperation) in the type ServerResourceCommandManager is not applicable for the arguments (OpenShiftServerEditorSection.SetDeployFolderCommand)
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[303]
> [ERROR] public class SetRemoteCommand extends ServerWorkingCopyPropertyCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[311]
> [ERROR] public class SetProjectCommand extends ServerWorkingCopyPropertyComboCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyComboCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[318]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type OpenShiftServerEditorSection.SetProjectCommand must override or implement a supertype method
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[323]
> [ERROR] public class SetDeployFolderCommand extends ServerWorkingCopyPropertyCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[331]
> [ERROR] public class SetOverrideCommand extends ServerWorkingCopyPropertyButtonCommand {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] ServerWorkingCopyPropertyButtonCommand cannot be resolved to a type
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerEditorSection.java:[339]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type OpenShiftServerEditorSection.SetOverrideCommand must override or implement a supertype method
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerWizardComposite.java:[273]
> [ERROR] browseDeployFolderButton.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, null, 0, 100, 0));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/OpenShiftServerWizardComposite.java:[277]
> [ERROR] deployFolderText.setLayoutData(UIUtil.createFormData2(0, 5, 100, -5, 0, 0, browseDeployFolderButton, -5));
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Access restriction: The method createFormData2(Object, int, Object, int, Object, int, Object, int) from the type FormDataUtility is not accessible due to restriction on classpath entry /home/eskimo/Projects/jbdevstudio/4.2.x/fork/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/target/classes
> [ERROR] 17 problems (17 errors)
> {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