diff options
author | Pascal Rapicault | 2015-01-21 15:49:29 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-01-21 15:51:39 +0000 |
commit | 70192756cacd4606b5c43651381922f914e4b6a6 (patch) | |
tree | 62575c2f8fb0b1c320200970a4600489223c49fe /bundles/org.eclipse.equinox.simpleconfigurator.manipulator | |
parent | 4b0ea17add3a6041d3b53804d4d43d4470611b16 (diff) | |
download | rt.equinox.p2-70192756cacd4606b5c43651381922f914e4b6a6.tar.gz rt.equinox.p2-70192756cacd4606b5c43651381922f914e4b6a6.tar.xz rt.equinox.p2-70192756cacd4606b5c43651381922f914e4b6a6.zip |
Bug 457176 - Plugin tests fail to initialize when Eclipse is installed
in a directory containing a non-ASCII character
Diffstat (limited to 'bundles/org.eclipse.equinox.simpleconfigurator.manipulator')
-rw-r--r-- | bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java b/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java index 73a1e71b5..49d9b89f0 100644 --- a/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java +++ b/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java @@ -24,7 +24,7 @@ public class SimpleConfiguratorManipulatorUtils { private static final String VERSION_PREFIX = "#version="; //$NON-NLS-1$ private static final String VERSION_1 = "1"; //$NON-NLS-1$ private static final Version OLD_STYLE_SIMPLE_CONFIGURATOR_VERSION = new Version("1.0.100.v20081206"); //$NON-NLS-1$ - private static final Version DEFAULT_ENCODING_CONFIGURATOR_VERSION = new Version("2.0.0.v20100329"); //$NON-NLS-1$ + private static final Version DEFAULT_ENCODING_CONFIGURATOR_VERSION = new Version("1.0.200.v20100503"); //$NON-NLS-1$ 3.6, after bug 289644 public static void writeConfiguration(BundleInfo[] simpleInfos, File outputFile) throws IOException { if (!Utils.createParentDir(outputFile)) { @@ -78,7 +78,7 @@ public class SimpleConfiguratorManipulatorUtils { Version version = new Version(simpleInfos[i].getVersion()); if (version.compareTo(OLD_STYLE_SIMPLE_CONFIGURATOR_VERSION) < 0) oldStyle = true; - if (version.compareTo(DEFAULT_ENCODING_CONFIGURATOR_VERSION) <= 0) + if (version.compareTo(DEFAULT_ENCODING_CONFIGURATOR_VERSION) < 0) utf8 = false; break; } |