commit | 66afc01a50be0f208cfab46f7b255363ae9c0458 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Wed Jun 27 16:19:48 2012 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Wed Jun 27 16:19:48 2012 +0000 |
tree | d373687dfb1a936e835098b17903ee30c7c1a98e | |
parent | e74986c3d8e55d06fe9ded8ec6732af72c4ccbba [diff] |
FELIX-3550 : Reimplement the SCR Generator git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1354608 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/ClassScanner.java b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/ClassScanner.java index 9995b34..3d7cae6 100644 --- a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/ClassScanner.java +++ b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/ClassScanner.java
@@ -125,6 +125,10 @@ final List<ClassDescription> result = new ArrayList<ClassDescription>(); for (final Source src : project.getSources()) { + if ( src.getFile().getName().equals("package-info.java") ) { + log.debug("Skipping file " + src.getClassName()); + continue; + } log.debug("Scanning class " + src.getClassName()); try {