Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 24014 invoked from network); 15 Jun 2010 10:09:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 10:09:50 -0000 Received: (qmail 22034 invoked by uid 500); 15 Jun 2010 10:09:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 21836 invoked by uid 500); 15 Jun 2010 10:09:47 -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 21828 invoked by uid 99); 15 Jun 2010 10:09:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 10:09:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 10:09:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5FA9MOD008229 for ; Tue, 15 Jun 2010 10:09:23 GMT Message-ID: <17812717.3501276596562838.JavaMail.jira@thor> Date: Tue, 15 Jun 2010 06:09:22 -0400 (EDT) From: "Pierre De Rop (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-2403) Dependency manager does not build correctly on Windows In-Reply-To: <21613228.19171276156932995.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre De Rop resolved FELIX-2403. ---------------------------------- Resolution: Fixed Fixed the DependencyManager maven annotation parser, which was not removing a temporary file before creating the target bundle (this was not working under windows). Also modified the SharingDependenciesWithMultipleServicesTest.testShareConfigurationDependencyWithMultipleServices(), which was not working under windows, because of the ConfigAdmin issue "FELIX-1545": just added a sleep(200) to work around the problem. > Dependency manager does not build correctly on Windows > ------------------------------------------------------ > > Key: FELIX-2403 > URL: https://issues.apache.org/jira/browse/FELIX-2403 > Project: Felix > Issue Type: Bug > Components: Dependency Manager > Reporter: Marcel Offermans > Assignee: Pierre De Rop > Priority: Minor > > From: Stijn de Witt [mailto:stijn.dewitt@planon.nl] > I think it might be a Windows thing... but after I did SVN update it > still is not working. > F:\workspace\Felix\dependencymanager>ver > Microsoft Windows XP [Version 5.1.2600] > F:\workspace\Felix\dependencymanager>java -version > java version "1.6.0_11" > Java(TM) SE Runtime Environment (build 1.6.0_11-b03) > Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing) > F:\workspace\Felix\dependencymanager>mvn -version > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > Java version: 1.6.0_11 > Java home: F:\workspace\Planon5\JDK\jdk1.6.0_11\jre > Default locale: nl_NL, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > F:\workspace\Felix\dependencymanager>mvn clean install > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Apache Felix Dependency Manager > [INFO] Apache Felix Dependency Manager Shell > [INFO] Apache Felix Dependency Manager Compatibility > [INFO] Apache Felix Dependency Manager Annotation > [INFO] Apache Felix Dependency Manager Runtime > [INFO] Apache Felix Dependency Manager Samples > [INFO] Apache Felix Dependency Manager Annotation Samples > [INFO] Apache Felix Dependency Manager Integration Tests > [INFO] Apache Felix Dependency Manager Projects > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Felix Dependency Manager > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Felix Dependency Manager Annotation Samples > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean {execution: default-clean}] > [INFO] Deleting directory > F:\workspace\Felix\dependencymanager\samples.annotation\target > [INFO] [resources:resources {execution: default-resources}] > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > F:\workspace\Felix\dependencymanager\samples.annotation\src\main\resourc > es > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Compiling 4 source files to > F:\workspace\Felix\dependencymanager\samples.annotation\target\classes > [INFO] [resources:testResources {execution: default-testResources}] > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > F:\workspace\Felix\dependencymanager\samples.annotation\src\test\resourc > es > [INFO] [compiler:testCompile {execution: default-testCompile}] > [INFO] No sources to compile > [INFO] [surefire:test {execution: default-test}] > [INFO] No tests to run. > [INFO] [bundle:bundle {execution: default-bundle}] > [INFO] [org.apache.felix.dependencymanager.annotation:scan {execution: > default}] > [INFO] Generating DM component descriptors for bundle > F:\workspace\Felix\dependencymanager\samples.annotation\target\org > .apache.felix.dependencymanager.samples.annotation-3.0.0-SNAPSHOT.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Could not rename > F:\workspace\Felix\dependencymanager\samples.annotation\target\org.apach > e.felix.dependencymanage > r.samples.annotation-3.0.0-SNAPSHOT.jar.tmp to > F:\workspace\Felix\dependencymanager\samples.annotation\target\org.apach > e > .felix.dependencymanager.samples.annotation-3.0.0-SNAPSHOT.jar > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 8 seconds > [INFO] Finished at: Thu Jun 10 09:32:25 CEST 2010 > [INFO] Final Memory: 35M/63M > [INFO] > ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.