Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2009-04-03 14:15:53 +0000
committerJohn Arthorne2009-04-03 14:15:53 +0000
commit8ab9b52163f0717e6e89c94cdb42f9a961246471 (patch)
treea07bf109363b00f4220eb812f592fdc7cbb38d8b /bundles/org.eclipse.equinox.frameworkadmin.test
parent5e6322d748357582f70bf1811d39c7ab77ef14cd (diff)
downloadrt.equinox.p2-8ab9b52163f0717e6e89c94cdb42f9a961246471.tar.gz
rt.equinox.p2-8ab9b52163f0717e6e89c94cdb42f9a961246471.tar.xz
rt.equinox.p2-8ab9b52163f0717e6e89c94cdb42f9a961246471.zip
Bug 269502 [fwkAdmin] -vm options is corrupted during autorestart after working with update site
Diffstat (limited to 'bundles/org.eclipse.equinox.frameworkadmin.test')
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/TestVMArg.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/TestVMArg.java b/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/TestVMArg.java
index b25036a6b..b3d1ca707 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/TestVMArg.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/TestVMArg.java
@@ -43,7 +43,7 @@ public class TestVMArg extends FwkAdminAndSimpleConfiguratorTest {
File jreLocation = new File(m.getLauncherData().getLauncher().getParentFile(), "../../jre").getCanonicalFile();
m.getLauncherData().setJvm(jreLocation);
m.save(false);
- assertContent(new File(getInstallFolder(), "eclipse.ini"), jreLocation.getAbsolutePath());
+ assertContent(new File(getInstallFolder(), "eclipse.ini"), jreLocation.getAbsolutePath().replace('\\','/'));
assertContent(m.getLauncherData().getLauncherConfigLocation(), "-vm");
assertContent(m.getLauncherData().getLauncherConfigLocation(), "jre");
assertNotContent(m.getLauncherData().getLauncherConfigLocation(), "file:");
@@ -53,7 +53,7 @@ public class TestVMArg extends FwkAdminAndSimpleConfiguratorTest {
public void test269502() throws FrameworkAdminRuntimeException, IOException {
//Test VM path in the install folder
- String winPath = "c:/ibm5sr3/bin/";
+ String winPath = "c:/ibm5sr3/bin";
String linuxPath = "/Users/Pascal/ibm5sr3/bin";
String chosenPath = Platform.getOS().equals("win32") ? winPath : linuxPath;
File jreLocation = new File(chosenPath);

Back to the top