ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [48/50] [abbrv] incubator-ignite git commit: Bug fix: don't find 'modules' directory to detect project home. (cherry picked from commit a892c75)
Date Thu, 12 Mar 2015 17:21:35 GMT
Bug fix: don't find 'modules' directory to detect project home.
(cherry picked from commit a892c75)


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

Branch: refs/heads/ignite-333
Commit: c757c0b26c4a05328588586d031a40a3d8804cbf
Parents: 030c373
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Mar 12 18:12:25 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Mar 12 19:49:00 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/util/IgniteUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c757c0b2/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index cf21d46..05d1a21 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -3053,7 +3053,7 @@ public abstract class IgniteUtils {
         for (File cur = startDir.getAbsoluteFile(); cur != null; cur = cur.getParentFile())
{
             // Check 'cur' is project home directory.
             if (!new File(cur, "bin").isDirectory() ||
-                !new File(cur, "modules").isDirectory() ||
+                !new File(cur, "docs").isDirectory() ||
                 !new File(cur, "config").isDirectory())
                 continue;
 


Mime
View raw message