check disabled flag before going any further


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@991127 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
index 645c61e..20f67c1 100644
--- a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
+++ b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
@@ -108,6 +108,9 @@
      */
     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());