You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2010/06/15 12:09:22 UTC

[jira] Resolved: (FELIX-2403) Dependency manager does not build correctly on Windows

     [ 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]
> ------------------------------------------------------------------------
> <snipped>
> [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.