[jbosstools-commits] JBoss Tools SVN: r41796 - branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Jun 7 17:35:30 EDT 2012
Author: adietish
Date: 2012-06-07 17:35:30 -0400 (Thu, 07 Jun 2012)
New Revision: 41796
Modified:
branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
[JBIDE-12131] using util method (which queries server & override) instead of server directly
Modified: branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
--- branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-07 21:34:36 UTC (rev 41795)
+++ branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-07 21:35:30 UTC (rev 41796)
@@ -195,8 +195,7 @@
} catch( CoreException ce) {
// What to do in this situation??
}
- String remoteName = behaviour.getServer().getAttribute(ExpressServerUtils.ATTRIBUTE_REMOTE_NAME,
- ExpressServerUtils.ATTRIBUTE_REMOTE_NAME_DEFAULT);
+ String remoteName = ExpressServerUtils.getExpressRemoteName(behaviour.getServer().createWorkingCopy());
PushOperationResult result = null;
boolean committed = false;
Repository repo = EGitUtils.getRepository(p);
More information about the jbosstools-commits
mailing list