[jbosstools-issues] [JBoss JIRA] (JBIDE-11718) compile failed in openshift

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue May 1 06:48:18 EDT 2012


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

Andre Dietisheim edited comment on JBIDE-11718 at 5/1/12 6:46 AM:
------------------------------------------------------------------

the culprit is the following:

{code}
	public class SetProjectCommand extends ServerWorkingCopyPropertyComboCommand {
		public SetProjectCommand(IServerWorkingCopy wc, String newVal) {
			super(wc, "Change Openshift Project", deployProjectCombo, newVal, ExpressServerUtils.ATTRIBUTE_DEPLOY_PROJECT, deployProjectListener);
		}
		@Override
		protected void postOp(int type) {
			updateWidgetsFromWorkingCopy();
		}
	}
{code}

ServerWorkingCopyPropertyComboCommand is available in {code}org.jboss.ide.eclipse.as.ui{code} and extends ServerCommand from {code}org.eclipse.wst.server.ui{code}. Neither one (in my workspace) offer a #postOp(int type).
Either we depend on a outdated eclipse wst plugin or org.jboss.ide.eclipse.as.ui has uncommitted changes.

@Rob: can you please fix the compilation issue?
                
      was (Author: adietish):
    the culprit is the following:

{code}
	public class SetProjectCommand extends ServerWorkingCopyPropertyComboCommand {
		public SetProjectCommand(IServerWorkingCopy wc, String newVal) {
			super(wc, "Change Openshift Project", deployProjectCombo, newVal, ExpressServerUtils.ATTRIBUTE_DEPLOY_PROJECT, deployProjectListener);
		}
		@Override
		protected void postOp(int type) {
			updateWidgetsFromWorkingCopy();
		}
	}
{code}

ServerWorkingCopyPropertyComboCommand is available in {code}org.jboss.ide.eclipse.as.ui{code} and extends ServerCommand from {code}org.eclipse.wst.server.ui{code}. Either we depend on a outdated eclipse wst plugin or org.jboss.ide.eclipse.as.ui has uncommitted changes.

@Rob: can you please fix the compilation issue?
                  
> compile failed in openshift
> ---------------------------
>
>                 Key: JBIDE-11718
>                 URL: https://issues.jboss.org/browse/JBIDE-11718
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>            Priority: Blocker
>             Fix For: 3.3.0.Beta3
>
>
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.jboss.tools.openshift.express.ui: Compilation failure: Compilation failure:
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_stable_branch.component--openshift/sources/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java:[274,0]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type ExpressDetailsSection.SetProjectCommand must override or implement a supertype method
> [ERROR] /mnt/hudson_workspace/workspace/jbosstools-3.3_stable_branch.component--openshift/sources/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/behaviour/ExpressDetailsSection.java:[294,0]
> [ERROR] protected void postOp(int type) {
> [ERROR] ^^^^^^^^^^^^^^^^
> [ERROR] The method postOp(int) of type ExpressDetailsSection.SetOverrideCommand must override or implement a supertype method
> [ERROR] 2 problems (2 errors)
> https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_stable_branch.component--openshift/70/console

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list