ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1531689 - /ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/ant/ProjectUtils.java
Date Sun, 13 Oct 2013 14:17:18 GMT
Author: jlboudart
Date: Sun Oct 13 14:17:18 2013
New Revision: 1531689

URL: http://svn.apache.org/r1531689
Log:
ProjectUtils should not depend on EasyAntEngine

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

Modified: ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/ant/ProjectUtils.java
URL: http://svn.apache.org/viewvc/ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/ant/ProjectUtils.java?rev=1531689&r1=1531688&r2=1531689&view=diff
==============================================================================
--- ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/ant/ProjectUtils.java (original)
+++ ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/ant/ProjectUtils.java Sun
Oct 13 14:17:18 2013
@@ -24,7 +24,6 @@ import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 
-import org.apache.easyant.core.EasyAntEngine;
 import org.apache.easyant.core.EasyAntMagicNames;
 import org.apache.easyant.core.ant.listerners.MultiModuleLogger;
 import org.apache.tools.ant.BuildException;
@@ -131,7 +130,7 @@ public class ProjectUtils {
             multiModuleLoggerClassName = MultiModuleLogger.class.getCanonicalName();
         }
         BuildLogger buildLogger = (BuildLogger) ClasspathUtils.newInstance(multiModuleLoggerClassName,
-                EasyAntEngine.class.getClassLoader(), BuildLogger.class);
+                ProjectUtils.class.getClassLoader(), BuildLogger.class);
         replaceMainLogger(project, buildLogger);
     }
 



Mime
View raw message