Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-18 20:48:43 -0400
committermkersten2007-06-18 20:48:43 -0400
commit8f04c99f351cff850b7231941e13b001573f2210 (patch)
treee6bf0077c6c68ff608f437be8aa0330d91f6ecdf /org.eclipse.mylyn.tasks.core
parentcfc24eed9fdfec1792d4daab66db8656fe5c1284 (diff)
downloadorg.eclipse.mylyn.tasks-8f04c99f351cff850b7231941e13b001573f2210.tar.gz
org.eclipse.mylyn.tasks-8f04c99f351cff850b7231941e13b001573f2210.tar.xz
org.eclipse.mylyn.tasks-8f04c99f351cff850b7231941e13b001573f2210.zip
RESOLVED - bug 193063: Attached contexts are still named "mylar/context/zip" after Mylar -> Mylyn rename
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193063
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
index 2446801fb..fbe4a2d01 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
@@ -41,9 +41,11 @@ public abstract class AbstractRepositoryConnector {
public static final String MESSAGE_ATTACHMENTS_NOT_SUPPORTED = "Attachments not supported by connector: ";
- public static final String MYLAR_CONTEXT_DESCRIPTION = "mylar/context/zip";
+ public static final String MYLAR_CONTEXT_DESCRIPTION_LEGACY = "mylar/context/zip";
- public final static String MYLAR_CONTEXT_FILENAME = "mylar-context.zip";
+ public static final String MYLAR_CONTEXT_DESCRIPTION = "mylyn/context/zip";
+
+ public final static String MYLAR_CONTEXT_FILENAME = "mylyn-context.zip";
protected Set<RepositoryTemplate> templates = new LinkedHashSet<RepositoryTemplate>();
@@ -228,6 +230,8 @@ public abstract class AbstractRepositoryConnector {
for (RepositoryAttachment attachment : newData.getAttachments()) {
if (attachment.getDescription().equals(MYLAR_CONTEXT_DESCRIPTION)) {
contextAttachments.add(attachment);
+ } else if (attachment.getDescription().equals(MYLAR_CONTEXT_DESCRIPTION_LEGACY)) {
+ contextAttachments.add(attachment);
}
}
}

Back to the top