ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r956709 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java
Date Mon, 21 Jun 2010 21:45:31 GMT
Author: maartenc
Date: Mon Jun 21 21:45:30 2010
New Revision: 956709

URL: http://svn.apache.org/viewvc?rev=956709&view=rev
Log:
No need to log this warning if we are in the system namespace

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java?rev=956709&r1=956708&r2=956709&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java Mon Jun
21 21:45:30 2010
@@ -58,6 +58,7 @@ import org.apache.ivy.core.resolve.Resol
 import org.apache.ivy.core.search.ModuleEntry;
 import org.apache.ivy.core.search.OrganisationEntry;
 import org.apache.ivy.core.search.RevisionEntry;
+import org.apache.ivy.plugins.namespace.Namespace;
 import org.apache.ivy.plugins.parser.ModuleDescriptorParser;
 import org.apache.ivy.plugins.parser.ModuleDescriptorParserRegistry;
 import org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriter;
@@ -383,7 +384,8 @@ public abstract class BasicResolver exte
 
     private void checkNotConvertedExclusionRule(ModuleDescriptor systemMd, ResolvedResource
ivyRef,
             ResolveData data) {
-        if (!systemMd.isDefault() 
+        if (!getNamespace().equals(Namespace.SYSTEM_NAMESPACE)
+                && !systemMd.isDefault() 
                 && data.getSettings().logNotConvertedExclusionRule() 
                 && systemMd instanceof DefaultModuleDescriptor) {
             DefaultModuleDescriptor dmd = (DefaultModuleDescriptor) systemMd;



Mime
View raw message