You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/04/23 15:32:38 UTC

[jira] [Closed] (FELIX-4003) SCR descriptor generation fails for a commented-out class

     [ https://issues.apache.org/jira/browse/FELIX-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-4003.
-----------------------------------

> SCR descriptor generation fails for a commented-out class
> ---------------------------------------------------------
>
>                 Key: FELIX-4003
>                 URL: https://issues.apache.org/jira/browse/FELIX-4003
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: maven-scr-plugin-1.11.0
>            Reporter: Alex Parvulescu
>            Priority: Minor
>         Attachments: FELIX-4003-test.patch
>
>
> There's a failure to generate scr descriptor when there's a java file that is all commented out in the project.
> I'm not really sure this is something the plugin needs to take into consideration, 
> I happened to run into it when I commented out a java class (each line starts with a line comment '//') and the maven project would not build anymore because the scr-plugin keps failng:
> bq. [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.11.1-SNAPSHOT:scr (generate-scr-descriptor) on project basic-built-it: /home/alex/work/felix/trunk/scrplugin/maven-scr-plugin/target/it/basic-build-it/src/main/java/org/apache/felix/scr/DummyClass.java : Unable to load compiled class: org.apache.felix.scr.DummyClass, 907 -> [Help 1]
> I'll attach a patch to reproduce this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)