ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [22/23] incubator-ignite git commit: # ignite-sprint-4 fixed GridJavaProcess to run on TC
Date Tue, 28 Apr 2015 13:20:00 GMT
# ignite-sprint-4 fixed GridJavaProcess to run on TC


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0f3d372e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0f3d372e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0f3d372e

Branch: refs/heads/ignite-695
Commit: 0f3d372e38fcec13f6cf0aa2e439ca63679cbfa4
Parents: 51dc6aa
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Apr 28 13:33:56 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Apr 28 13:33:56 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/util/GridJavaProcess.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0f3d372e/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
index d62e0b7..bff26ec 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridJavaProcess.java
@@ -130,6 +130,10 @@ public final class GridJavaProcess {
 
         String javaBin = System.getProperty("java.home") + File.separator + "bin" + File.separator
+ "java";
         String classpath = System.getProperty("java.class.path");
+        String sfcp = System.getProperty("surefire.test.class.path");
+
+        if (sfcp != null)
+            classpath += System.getProperty("path.separator") + sfcp;
 
         if (cp != null)
             classpath += System.getProperty("path.separator") + cp;


Mime
View raw message