ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject incubator-ignite git commit: Bug fix: don't find 'modules' directory to detect project home.
Date Thu, 12 Mar 2015 15:12:35 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-459 31922e0b6 -> a892c7565


Bug fix: don't find 'modules' directory to detect project home.


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

Branch: refs/heads/ignite-459
Commit: a892c7565510194d21d4192a89e43c7f2112d3c9
Parents: 31922e0
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Mar 12 18:12:25 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Mar 12 18:12:25 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/a892c756/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 c989002..33c8e8e 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
@@ -3057,7 +3057,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