felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r991159 - /felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
Date Tue, 31 Aug 2010 11:30:00 GMT
Author: dsavage
Date: Tue Aug 31 11:30:00 2010
New Revision: 991159

URL: http://svn.apache.org/viewvc?rev=991159&view=rev
Log:
stop runtime exception on duplicate uri FELIX-2565

Modified:
    felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java

Modified: felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java?rev=991159&r1=991158&r2=991159&view=diff
==============================================================================
--- felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
(original)
+++ felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
Tue Aug 31 11:30:00 2010
@@ -132,8 +132,11 @@ final class OBRHandler extends DefaultHa
             {
                 if (!sanity.add(uri))
                 {
-                    throw new RuntimeException("Duplicate uri " + uri);
+                    // TODO replace with logging framework for build
+                    // should hook in with ide/build logging
+                    System.err.println(obrURL + " contains duplicate uri: " + uri);
                 }
+                
                 ISigilBundle b = ModelElementFactory.getInstance().newModelElement(
                     ISigilBundle.class);
                 IBundleModelElement info = ModelElementFactory.getInstance().newModelElement(



Mime
View raw message