Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-05-28 19:56:07 +0000
committerDJ Houghton2010-05-28 19:56:07 +0000
commit6227d59925208ee12b622341c8a6058a2be4c455 (patch)
tree8f6b01dcc142e6560ba8439c00183f3877971a08
parent6f4d673ba528884957dfabe1ecdee0c7ef4aa46c (diff)
downloadrt.equinox.p2-6227d59925208ee12b622341c8a6058a2be4c455.tar.gz
rt.equinox.p2-6227d59925208ee12b622341c8a6058a2be4c455.tar.xz
rt.equinox.p2-6227d59925208ee12b622341c8a6058a2be4c455.zip
Bug 314939 - [reconciler] Second startup after update also slowR34x_v20100528
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java9
2 files changed, 5 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/META-INF/MANIFEST.MF
index b79417a5e..3d37316d0 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/META-INF/MANIFEST.MF
@@ -4,7 +4,7 @@ Bundle-SymbolicName: org.eclipse.equinox.p2.touchpoint.eclipse;singleton:=true
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
-Bundle-Version: 1.0.2.qualifier
+Bundle-Version: 1.0.3.qualifier
Import-Package: javax.xml.parsers,
org.eclipse.core.runtime;common=split,
org.eclipse.equinox.internal.p2.core.helpers,
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
index 8797febb7..35f53b793 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 IBM Corporation and others.
+ * Copyright (c) 2008, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -37,11 +37,10 @@ public class ConfigurationWriter implements ConfigurationConstants {
writer = new XMLWriter(output);
Map args = new HashMap();
- String value = configuration.getDate();
- if (value != null)
- args.put(ATTRIBUTE_DATE, value);
+ // Always put an updated timestamp in the file.
+ args.put(ATTRIBUTE_DATE, Long.toString(new Date().getTime()));
- value = configuration.getSharedUR();
+ String value = configuration.getSharedUR();
if (value != null)
args.put(ATTRIBUTE_SHARED_UR, value);

Back to the top