commit | 6cf28541f7ef86a89f54cf1901b02140b96f0a05 | [log] [tgz] |
---|---|---|
author | David Morgan Spenser Savage <dsavage@apache.org> | Tue Aug 31 09:03:43 2010 +0000 |
committer | David Morgan Spenser Savage <dsavage@apache.org> | Tue Aug 31 09:03:43 2010 +0000 |
tree | bcc7526ef4d0dc274ba31a5af38edf64515c38b1 | |
parent | e98066be6b2177172e9c5cd0b67f01ae587a82ed [diff] |
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());