Re: How To Build Apache Felix Dependency Manager

2015-09-17 Thread Hubert Felber
-Changed to java 7 -the sources are from http://svn.apache.org/repos/asf/felix/trunk/dependencymanager -did not know gradlew (first contact) after making gradlew available and setting the proxies I could compile -- even on windows ;-) Thank you!! It seams that the latest release is DM 4.1.1

Re: Dependency Manager does not behave as expected

2015-09-17 Thread Hubert Felber
Hi Pierre, Thank you for all your efforts! unfortunately I could not check it out using svn. I get a "Redirect cycle detected for URL 'http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager.test'" on both linux and windows And I don´t have Eclipse installed since we work with

Re: Dependency Manager does not behave as expected

2015-09-17 Thread Benson Margulies
On Thu, Sep 17, 2015 at 6:29 AM, Hubert Felber wrote: > Hi Pierre, > > Thank you for all your efforts! > > unfortunately I could not check it out using svn. > I get a "Redirect cycle detected for URL >

Re: Dependency Manager does not behave as expected

2015-09-17 Thread Hubert Felber
>>> Benson Margulies 17.09.2015 12:39 >>>

Re: How To Build Apache Felix Dependency Manager

2015-09-17 Thread Pierre De Rop
Hi Hubert, Good to know it works. Ok; I will upload the already released 4.1.1 version for the org.apache.felix.dependencymanager.jar artifact asap, and will let you know. cheers /Pierre On Thu, Sep 17, 2015 at 10:50 AM, Hubert Felber wrote: > > -Changed to java 7 >

[SCR] Obtaining component configuration

2015-09-17 Thread David Leangen
Hi! Using Felix SCR... I am trying to obtain a component’s properties object by: ConfigurationAdmin cm = {obtain the cm} Configuration componentConfig = cm.getConfiguration( componentPid ); componentConfig.getProperties(); I can confirm that I am getting the correct Configuration object

InterruptedException when stopping system-bundle

2015-09-17 Thread marc . schlegel
Hello everyone I created a little executable-jar which launches Felix. After some computation has been done the framework is shutdown by using context.getBundle(0).stop() This however always throws an InterruptedException java.lang.InterruptedException at java.lang.Object.wait(Native

Re: InterruptedException when stopping system-bundle

2015-09-17 Thread Raymond Auge
What you probably want is: Framework fw = context.getBundle(0).adapt(Framework.class); fw.waitForStop(timeout); - Ray On Thu, Sep 17, 2015 at 4:02 PM, wrote: > Hello everyone > > I created a little executable-jar which launches Felix. After some > computation has

Re: How To Build Apache Felix Dependency Manager

2015-09-17 Thread Pierre De Rop
Hi Hubert, the org.apache.felix.dependencymanager-4.1.1.jar artifact has been uploaded to maven central, see [1] /Pierre [1] http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.dependencymanager/4.1.1/ On Thu, Sep 17, 2015 at 10:50 AM, Hubert Felber wrote:

Re: Dependency Manager does not behave as expected

2015-09-17 Thread Pierre De Rop
Hi Hubert, I'm sorry but don't understand when you say: " ... DM should not try to start the service before I finally add the component to DM, but now it tries to start the service, as soon as add a ServiceDependency ..." Indeed, DM never do that. The service component is started only after you