You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jl...@apache.org on 2013/08/07 23:08:42 UTC

svn commit: r1511492 - /ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java

Author: jlboudart
Date: Wed Aug  7 21:08:41 2013
New Revision: 1511492

URL: http://svn.apache.org/r1511492
Log:
Fix strange condition to locate default project settings in user home

Modified:
    ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java

Modified: ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java
URL: http://svn.apache.org/viewvc/ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java?rev=1511492&r1=1511491&r2=1511492&view=diff
==============================================================================
--- ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java (original)
+++ ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java Wed Aug  7 21:08:41 2013
@@ -217,7 +217,7 @@ public class LoadModule extends Abstract
             }
         }
         // if no property is set check the default user location
-        if (null == null) {
+        if (!ivysettingsConfigured) {
             File userProjectIvyFile = new File(getProject().replaceProperties(
                     EasyAntConstants.DEFAULT_USER_PROJECT_IVYSETTINGS));
             if (userProjectIvyFile.exists()) {