commit | 4016a8da9763d6d7233608020f15003633e8c25c | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Thu Apr 23 12:22:03 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Thu Apr 23 12:22:03 2015 +0000 |
tree | 731ca8b98df170e35d12bd0b15625692d0820d41 | |
parent | 9fc79cf3fdda6ebcdc23bb8579876b0378102ec8 [diff] |
FELIX-4861 : Metatype generation should fail if there is no configuration property git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1675586 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java index f680294..da58ad2 100644 --- a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java +++ b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
@@ -186,7 +186,7 @@ // additional check for metatype (FELIX-4035) if ( this.container.getMetatypeContainer() != null ) { if ( this.container.getMetatypeContainer().getProperties().size() == 0 ) { - this.logWarn(component, "Component is defined to generate metatype information, however no properties have been " + + this.logError(component, "Component is defined to generate metatype information, however no properties have been " + "defined; in case no properties are wanted, consider to use 'metatype=false'"); } }