Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EAB5317F72 for ; Tue, 28 Apr 2015 08:45:28 +0000 (UTC) Received: (qmail 10252 invoked by uid 500); 28 Apr 2015 08:45:28 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 10221 invoked by uid 500); 28 Apr 2015 08:45:28 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 10212 invoked by uid 99); 28 Apr 2015 08:45:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 08:45:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 08:45:24 +0000 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 29840205EB for ; Tue, 28 Apr 2015 08:45:04 +0000 (UTC) Received: (qmail 10084 invoked by uid 99); 28 Apr 2015 08:45:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 08:45:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BF0FBE00FF; Tue, 28 Apr 2015 08:45:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Message-Id: <2d5a6a2570ff42c9bb7ee259aa580ed2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ignite git commit: # ignite-157-debug Date: Tue, 28 Apr 2015 08:45:03 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-ignite Updated Branches: refs/heads/ignite-157-debug a2a0d9386 -> 5feae41d6 # ignite-157-debug Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/5feae41d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5feae41d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5feae41d Branch: refs/heads/ignite-157-debug Commit: 5feae41d6af795641c2232f92828bcc1033a3ab7 Parents: a2a0d93 Author: sboikov Authored: Tue Apr 28 11:44:54 2015 +0300 Committer: sboikov Committed: Tue Apr 28 11:44:54 2015 +0300 ---------------------------------------------------------------------- .../java/org/apache/ignite/internal/util/GridJavaProcess.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5feae41d/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 0b0f27d..e66af71 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 @@ -156,7 +156,9 @@ public final class GridJavaProcess { log.info("Classpath: " + System.getenv("CLASSPATH")); - builder.environment().put("CLASSPATH", System.getenv("CLASSPATH")); + + if (System.getenv("CLASSPATH") != null) + builder.environment().put("CLASSPATH", System.getenv("CLASSPATH")); Process proc = builder.start();