You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2012/10/03 13:02:08 UTC

[jira] [Commented] (FELIX-3643) Use BuildContext for scanning changed files

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

Robert Munteanu commented on FELIX-3643:
----------------------------------------

The second patch removes some TODOs and enabled resource refresh in Eclipse. The previously commented out code worked for me.

With this patch the code works as expected but I've noticed two changes which are not properly handled.

# A component changes from metaType = true to metaType = false and the metatype descriptor is not deleted
# A java class is no longer a component ( e.g. @Component annotation removed ) but the metatype and component descriptors are not removed

However, I'm not sure if we can detect these changes at all, since we don't have the previous build state.
                
> Use BuildContext for scanning changed files
> -------------------------------------------
>
>                 Key: FELIX-3643
>                 URL: https://issues.apache.org/jira/browse/FELIX-3643
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.8.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.8.2
>
>         Attachments: FELIX-3643-incremental-build-2.txt, FELIX-3643-incremental-build.txt
>
>


--
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