You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by bg...@apache.org on 2014/12/17 17:57:41 UTC

incubator-reef git commit: [REEF-75] Removed double quotes from the constructed local runtime Java classpath. The double quotes caused difficulty when parsing the classpath via LocalClasspathProvider.

Repository: incubator-reef
Updated Branches:
  refs/heads/master 7c2cf6fa1 -> 12f7c9d9a


[REEF-75] Removed double quotes from the constructed local runtime Java
  classpath.  The double quotes caused difficulty when parsing the classpath
  via LocalClasspathProvider.

JIRA:
  [REEF-75]: https://issues.apache.org/jira/browse/REEF-75

Pull Request:
  Closes #36

Author:
  Brian Cho chobrian@apache.org


Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/12f7c9d9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/12f7c9d9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/12f7c9d9

Branch: refs/heads/master
Commit: 12f7c9d9a9fadf8dd95eca80f3bf384d50e49a46
Parents: 7c2cf6f
Author: chobrian <ch...@apache.org>
Authored: Wed Dec 17 15:42:50 2014 +0900
Committer: Byung-Gon Chun <bg...@apache.org>
Committed: Thu Dec 18 01:53:42 2014 +0900

----------------------------------------------------------------------
 .../reef/runtime/common/launch/JavaLaunchCommandBuilder.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/12f7c9d9/reef-common/src/main/java/org/apache/reef/runtime/common/launch/JavaLaunchCommandBuilder.java
----------------------------------------------------------------------
diff --git a/reef-common/src/main/java/org/apache/reef/runtime/common/launch/JavaLaunchCommandBuilder.java b/reef-common/src/main/java/org/apache/reef/runtime/common/launch/JavaLaunchCommandBuilder.java
index 53f796e..8084068 100644
--- a/reef-common/src/main/java/org/apache/reef/runtime/common/launch/JavaLaunchCommandBuilder.java
+++ b/reef-common/src/main/java/org/apache/reef/runtime/common/launch/JavaLaunchCommandBuilder.java
@@ -145,7 +145,7 @@ public final class JavaLaunchCommandBuilder implements LaunchCommandBuilder {
   }
 
   public JavaLaunchCommandBuilder setClassPath(final Collection<String> classPathElements) {
-    this.classPath = "\"" + StringUtils.join(classPathElements, File.pathSeparatorChar) + "\"";
+    this.classPath = StringUtils.join(classPathElements, File.pathSeparatorChar);
     return this;
   }