Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34573101A8 for ; Sun, 5 May 2013 14:48:16 +0000 (UTC) Received: (qmail 39576 invoked by uid 500); 5 May 2013 14:48:15 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 39530 invoked by uid 500); 5 May 2013 14:48:15 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 39521 invoked by uid 99); 5 May 2013 14:48:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 May 2013 14:48:15 +0000 Date: Sun, 5 May 2013 14:48:15 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4049) SCR-Plugin creates invalid manifest-header on incremental-build (eclipse-IDE-integration) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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