[jbosstools-commits] JBoss Tools SVN: r39256 - branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Mar 2 08:45:26 EST 2012
Author: adietish
Date: 2012-03-02 08:45:25 -0500 (Fri, 02 Mar 2012)
New Revision: 39256
Modified:
branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizardModel.java
Log:
[JBIDE-11105] checking whether the user decided to create the adapter before creating it
Modified: branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizardModel.java
===================================================================
--- branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizardModel.java 2012-03-02 12:35:09 UTC (rev 39255)
+++ branches/jbosstools-3.3.0.Beta1/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizardModel.java 2012-03-02 13:45:25 UTC (rev 39256)
@@ -184,10 +184,12 @@
private void createServerAdapter(IProgressMonitor monitor, List<IProject> importedProjects)
throws OpenShiftException {
Assert.isTrue(importedProjects.size() > 0);
- IProject project = importedProjects.get(0);
- new ServerAdapterFactory().create(project, this, monitor);
+ if (isCreateServerAdapter()) {
+ IProject project = importedProjects.get(0);
+ new ServerAdapterFactory().create(project, this, monitor);
+ }
}
-
+
@Override
public File getRepositoryFile() {
String repositoryPath = getRepositoryPath();
More information about the jbosstools-commits
mailing list