felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r812351 - /felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
Date Tue, 08 Sep 2009 07:01:29 GMT
Author: cziegeler
Date: Tue Sep  8 07:01:28 2009
New Revision: 812351

URL: http://svn.apache.org/viewvc?rev=812351&view=rev
Log:
Throw error if compoent factory and metatype factory pid are used together (instead of warning)

Modified:
    felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java

Modified: felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java?rev=812351&r1=812350&r2=812351&view=diff
==============================================================================
--- felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
(original)
+++ felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
Tue Sep  8 07:01:28 2009
@@ -523,7 +523,7 @@
                 if ( component.getFactory() == null ) {
                     designate.setFactoryPid( component.getName() );
                 } else {
-                    iLog.addWarning("Component factory " + component.getName() + " should
not set metatype factory pid.");
+                    iLog.addError("Component factory " + component.getName() + " should not
set metatype factory pid.");
                 }
             }
             // designate.object



Mime
View raw message