diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-30 20:18:37 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-30 20:18:37 +0000 |
commit | 6471a12b3b0cb2c90896b2d15728a654d470179b (patch) | |
tree | 97f3fb74f8fad892bf31dc560e0e0c6dfe6f9d77 /branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src | |
parent | 37b7a6a16f61ced80bb8905f97bbc348c2b91af6 (diff) |
TUSCANY-3248 - Removing quoted tokens to avoid issues on linux/mac os environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@809409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src')
-rw-r--r-- | branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/java/domainmgr/DomainManagerBasicTestCase.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/java/domainmgr/DomainManagerBasicTestCase.java b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/java/domainmgr/DomainManagerBasicTestCase.java index 1f7a3443b3..46e5ab03af 100644 --- a/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/java/domainmgr/DomainManagerBasicTestCase.java +++ b/branches/sca-java-1.5.1/itest/domainmgr/basic/runtest/src/test/java/domainmgr/DomainManagerBasicTestCase.java @@ -38,7 +38,7 @@ public class DomainManagerBasicTestCase { private String home = System.getProperty("java.home");
private String classpath = System.getProperty("java.class.path");
- private Runtime runtime = Runtime.getRuntime();
+ //private Runtime runtime = Runtime.getRuntime();
private BufferedReader domainErrReader;
private BufferedReader domainOutReader;
@@ -56,12 +56,12 @@ public class DomainManagerBasicTestCase { // from the "src/test/resources/domain/" directory.
System.out.println("Starting domain manager");
String[] domainCommand = {
- "\"" + home + "/bin/java\"",
+ "" + home + "/bin/java",
"-cp",
- "\"" + classpath + "\"",
+ "" + classpath + "",
"org.apache.tuscany.sca.node.launcher.DomainManagerLauncher"};
String userdir = System.getProperty("user.dir");
- domainMgr = runtime.exec(domainCommand, null, new File(userdir + "/target/test-classes/domain/"));
+ domainMgr = Runtime.getRuntime().exec(domainCommand, null, new File(userdir + "/target/test-classes/domain/"));
// Get the new process's stdin, stdout and stderr streams so that we
// can monitor and control execution of the domain manager process.
@@ -226,12 +226,12 @@ public class DomainManagerBasicTestCase { void start() throws Exception {
System.out.println("Starting node " + nodeName);
String[] nodeCommand = {
- "\"" + home + "/bin/java\"",
+ "" + home + "/bin/java",
"-cp",
- "\"" + classpath + "\"",
+ "" + classpath + "",
"org.apache.tuscany.sca.node.launcher.NodeLauncher",
"http://localhost:9990/node-config/" + nodeName};
- nodeProcess = runtime.exec(nodeCommand, null, new File(nodeDir));
+ nodeProcess = Runtime.getRuntime().exec(nodeCommand, null, new File(nodeDir));
// Get the new process's stdin, stdout and stderr streams so that we
// can monitor and control execution of the test node process.
|