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 2013/05/05 16:48:15 UTC

[jira] [Commented] (FELIX-4049) SCR-Plugin creates invalid manifest-header on incremental-build (eclipse-IDE-integration)

    [ https://issues.apache.org/jira/browse/FELIX-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649343#comment-13649343 ] 

Carsten Ziegeler commented on FELIX-4049:
-----------------------------------------

I've committed a potential fix in rev 1479334 - instead of using the list from scr generator which contains only the descriptors for the changed files, the plugin now simply scans the output directory and takes all available .xml files.
                
> SCR-Plugin creates invalid manifest-header on incremental-build (eclipse-IDE-integration)
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-4049
>                 URL: https://issues.apache.org/jira/browse/FELIX-4049
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.12.0
>         Environment: Eclipse 4.2.2 w/ m2e 1.3.1
>            Reporter: Timo Naroska
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin 1.13.0
>
>
> With FELIX-4023 fixed, we're still seeing bogus behavior of the scr-plugin when running in the context of m2e.
> Steps to reproduce:
> - create a maven project using bundle-plugin und scr-plugin 1.12 in eclipse/m2e
> - create two @Component annotated classes
> - check that "Build automatically" is enabled in eclipse workspace
> - force a clean rebuild of the project (Project menu -> Clean...) and check the generated manifest file
> -- Service-Component header references both component descriptor files
> - modify one of the @Component classes and safe
> -- this triggers an incremental build of the project
> - check the manifest file again
> -- Service-Component header only references the descriptor xml of the modified class
> Thus, the manifest file is broken after the incremental build.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira