Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-06-14 14:17:24 -0400
committerrelves2007-06-14 14:17:24 -0400
commitc847303fa270c9712f4425ba4986a9a225d2864d (patch)
tree146523cb59976bec94be5de8f3e88927c3fd6b49 /org.eclipse.mylyn.tasks.core
parentec63d3a2918670d3ba92a49816b7da262bff94b3 (diff)
downloadorg.eclipse.mylyn.tasks-c847303fa270c9712f4425ba4986a9a225d2864d.tar.gz
org.eclipse.mylyn.tasks-c847303fa270c9712f4425ba4986a9a225d2864d.tar.xz
org.eclipse.mylyn.tasks-c847303fa270c9712f4425ba4986a9a225d2864d.zip
NEW - bug 166609: [api] improve task externalization API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=166609
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
index 21bb39138..70c727789 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
@@ -124,12 +124,16 @@ public class TaskRepository {
this.properties.put(IRepositoryConstants.PROPERTY_VERSION, version);
this.properties.put(IRepositoryConstants.PROPERTY_ENCODING, encoding);
this.properties.put(IRepositoryConstants.PROPERTY_TIMEZONE, timeZoneId);
+ // use platform proxy by default (headless will need to set this to false)
+ this.setProperty(TaskRepository.PROXY_USEDEFAULT, new Boolean(true).toString());
}
public TaskRepository(String kind, String serverUrl, Map<String, String> properties) {
this.properties.put(IRepositoryConstants.PROPERTY_KIND, kind);
this.properties.put(IRepositoryConstants.PROPERTY_URL, serverUrl);
this.properties.putAll(properties);
+ // use platform proxy by default (headless will need to set this to false)
+ this.setProperty(TaskRepository.PROXY_USEDEFAULT, new Boolean(true).toString());
}
public String getUrl() {

Back to the top