Author: adietish
Date: 2011-10-14 04:08:24 -0400 (Fri, 14 Oct 2011)
New Revision: 35651
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPageModel.java
Log:
[JBIDE-9793] fixed git repo path (which erroneously had the app-name appended to. so the
proj was cloned to a dir which had the app-name 2 /basepath/appname/appname
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPageModel.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPageModel.java 2011-10-14
07:36:05 UTC (rev 35650)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPageModel.java 2011-10-14
08:08:24 UTC (rev 35651)
@@ -57,12 +57,10 @@
}
private String getDefaultRepositoryPath() {
- return getEGitDefaultRepositoryPath()
- + File.separatorChar
- + StringUtils.null2emptyString(wizardModel.getApplicationName());
+ return getEGitDefaultRepositoryPath();
}
- public String getEGitDefaultRepositoryPath() {
+ private String getEGitDefaultRepositoryPath() {
String destinationDir =
Activator.getDefault().getPreferenceStore().getString(UIPreferences.DEFAULT_REPO_DIR);
return destinationDir;
Show replies by date