felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r991127 - /felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
Date Tue, 31 Aug 2010 09:03:43 GMT
Author: dsavage
Date: Tue Aug 31 09:03:43 2010
New Revision: 991127

URL: http://svn.apache.org/viewvc?rev=991127&view=rev
Log:
check disabled flag before going any further

Modified:
    felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java

Modified: felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java?rev=991127&r1=991126&r2=991127&view=diff
==============================================================================
--- felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
(original)
+++ felix/trunk/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
Tue Aug 31 09:03:43 2010
@@ -108,6 +108,9 @@ public class BldRepositoryManager extend
      */
     private static IBundleRepository buildRepository(String name, Properties repo)
     {
+        String disabled = repo.getProperty("disabled");
+        if ("true".equalsIgnoreCase(disabled == null ? null : disabled.trim())) return null;
+        
         String optStr = repo.getProperty("optional", "false");
         boolean optional = Boolean.parseBoolean(optStr.trim());
 



Mime
View raw message