Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xorg.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java2
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/CloneGistHandler.java5
-rw-r--r--pom.xml2
3 files changed, 4 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
index 0e8575bf..9290b636 100755
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/RepositoryImportWizard.java
@@ -81,7 +81,7 @@ public class RepositoryImportWizard extends Wizard implements IImportWizard {
IPreferenceStore store = org.eclipse.egit.ui.Activator.getDefault()
.getPreferenceStore();
- String defaultRepoDir = store.getString(UIPreferences.DEFAULT_REPO_DIR);
+ String defaultRepoDir = RepositoryUtil.getDefaultRepositoryDir();
File directory = new File(new File(defaultRepoDir, repo.getOwner()),
repo.getName());
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/CloneGistHandler.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/CloneGistHandler.java
index 91490812..6a206dfb 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/CloneGistHandler.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/CloneGistHandler.java
@@ -53,7 +53,7 @@ public class CloneGistHandler extends TaskDataHandler {
/**
* Get gist name for task data used to create projects and Git repositories
- *
+ *
* @param data
* @return name
*/
@@ -82,8 +82,7 @@ public class CloneGistHandler extends TaskDataHandler {
}
private File getParentDirectory() {
- String destinationDir = Activator.getDefault().getPreferenceStore()
- .getString(UIPreferences.DEFAULT_REPO_DIR);
+ String destinationDir = RepositoryUtil.getDefaultRepositoryDir();
File parentDir = new File(destinationDir);
if (!parentDir.exists() || !parentDir.isDirectory())
parentDir = ResourcesPlugin.getWorkspace().getRoot()
diff --git a/pom.xml b/pom.xml
index a73912ca..194c817a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,7 @@
<platform-version-name>mars</platform-version-name>
<mylyn-site>http://download.eclipse.org/mylyn/releases/3.7</mylyn-site>
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
- <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/S20150202203538/repository/</orbit-site>
+ <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20150519210750/repository/</orbit-site>
<download-publish-path>/home/data/httpd/download.eclipse.org/egit/github/updates-nightly</download-publish-path>
</properties>

Back to the top