The link to the Log bundle is not valid

2009-05-29 Thread Triquoit Mathieu
Hi guys, The link to download the Log bundle is invalid and point to the junit4osgi bundle. Could you please check ? Thanks in advance, Regards, Mathieu

Re: The link to the Log bundle is not valid

2009-05-29 Thread Stuart McCulloch
2009/5/29 Triquoit Mathieu > Hi guys, > > The link to download the Log bundle is invalid and point to the junit4osgi > bundle. > Could you please check ? > well spotted, I'm fixing it in the wiki which will then get mirrored to the main site. > Thanks in advance, > Regards, > Mathieu > -- Ch

Problems with felix in eclipse

2009-05-29 Thread galaxy
Hi all, Here is my problem :Every time I tried to run org.apache.felix.main.Main in eclipse there would be the error [1]. I searched the problem and found it was related to the url .But my bundle url is [2].So I don't know why is the problem .The felix version is 1.8. Thanks! [1] Welcome to Felix

Problems with runing felix in eclipse

2009-05-29 Thread galaxy
Hi all, Here is my problem :Every time I tried to run org.apache.felix.main.Main in eclipse there would be the error [1]. I searched the problem and found it was related to the url .But my bundle url is [2].So can you help me on this problem ?The felix version is 1.8. And I installed felix in ecli

strange class cast exception

2009-05-29 Thread Andreas Mucha
hello all, i have a little bundle which displays some swing gui. at first i figured out, that the only suitable way to install an own look and feel is UIManager.setLookAndFeel("classname"). UIManager.setLookAndFeel(new LF()) will not work due to osgi class loading mechanism. so i installed a litt

Re: strange class cast exception

2009-05-29 Thread Karl Pauls
Can you show us the manifest of your bundle please? regards, Karl On Fri, May 29, 2009 at 12:04 PM, Andreas Mucha wrote: > hello all, > > i have a little bundle which displays some swing gui. > at first i figured out, that the only suitable way > to install an own look and feel is UIManager.set

Exporting examine class

2009-05-29 Thread galaxy
Hi all Could anyone show me where the code we examine the exporting packages(like whether the package starts with java.*) locates? thanks ! -- regards Tian

Re: Problems with runing felix in eclipse

2009-05-29 Thread Stuart McCulloch
2009/5/29 galaxy > Hi all, > Here is my problem :Every time I tried to run org.apache.felix.main.Main in > eclipse there would be the error [1]. > I searched the problem and found it was related to the url .But my bundle > url is [2].So can you help me on this problem ?The felix version is 1.8.

Re: Exporting examine class

2009-05-29 Thread Stuart McCulloch
2009/5/29 galaxy > Hi all > Could anyone show me where the code we examine the exporting packages(like > whether the package starts with java.*) locates? you mean where the Felix framework decides how to wire up imports to exports? http://svn.apache.org/repos/asf/felix/trunk/framework/src/mai

Consuming xml for ConfigAdmin

2009-05-29 Thread Thomas Joseph
Guys, I want to consume xml data via ConfigAdmin. More specifically I want to read log4j.xml via ConfigAdmin and supply it to logging service (Pax Logging). Any good ConfiAdmin implementation that consumes xml? Any advice? -- Thanks and Regards, /Thomas Joseph LinkedIn: http://www.linkedin.com

Re: Problems with felix in eclipse

2009-05-29 Thread Richard S. Hall
Are you sure the bundles exist at that location? Are you installing into a clean bundle cache? Verify that the bundles exist at that location and start with a clean cache and let me know. -> richard On 5/29/09 5:41 AM, galaxy wrote: Hi all, Here is my problem :Every time I tried to run or

Re: Problems with runing felix in eclipse

2009-05-29 Thread galaxy
Thanks! 2009/5/29 Stuart McCulloch > 2009/5/29 galaxy > > > Hi all, > > Here is my problem :Every time I tried to run org.apache.felix.main.Main > in > > eclipse there would be the error [1]. > > I searched the problem and found it was related to the url .But my bundle > > url is [2].So can yo

Re: Problems with runing felix in eclipse

2009-05-29 Thread Richard S. Hall
BTW, I just committed a patch to improve the error message in this situation, so in the next Felix release such errors should hopefully be more obvious. -> richard On 5/29/09 7:17 AM, galaxy wrote: Thanks! 2009/5/29 Stuart McCulloch 2009/5/29 galaxy Hi all, Here is my problem

Re: OBR

2009-05-29 Thread Felix Meschberger
Hi, Stéphane Jeanjean schrieb: Hello, My application uses OBR through the API. I would like to know if there is a way to know if the bundle installation fails. Resolver.deploy() method is called after checking resolution as described in documentation. If an error occurs, for instance a ne

RE : OBR

2009-05-29 Thread Stéphane Jeanjean
Hi Felix, Thnanks for your answer. > > > > My application uses OBR through the API. I would like to > know if there > > is a way to know if the bundle installation fails. > > > > Resolver.deploy() method is called after checking resolution as > > described in documentation. > > > > If an erro

Re: Consuming xml for ConfigAdmin

2009-05-29 Thread Christopher Armstrong
Hi Thomas It wouldn't be that hard to write an XML parser that translates the result into a configuration. Alternatively, the Autoconf processor in Deployment Admin can read OSGi Metatype XML files that contain configurations, all as part of a deployment package. This latter option is pro

Re: Problems with runing felix in eclipse

2009-05-29 Thread galaxy
Hi , I modified the config file as [1] but still got the error message [2].Seems it's not about the url and when I run the felix in the command line ,with the exact same config it was OK.Could any one know what's going on here? [1] felix.auto.start.1= \ file:///D:/Java/eclipse/WorkSpace/Felix/bund

Re: Problems with runing felix in eclipse

2009-05-29 Thread galaxy
Sorry .A small error in the description .The config file when running felix in command line is the same as below ,without the "///" .But I have already tried running the felix in eclipse with the config file same as below and it didn't work. . felix.auto.start.1= \ file:D:/Java/felix-1.8.0/fel

Re: Problems with runing felix in eclipse

2009-05-29 Thread Nima Kaviani
Hi, I usually solve the problem by uncommenting "felix.cache.rootdir" and pointing it to the root directory for felix, e.g., "D:/java/.". I keep "felix.auto.start.1" as is and it stops complaining. cheers, N. On Fri, May 29, 2009 at 7:44 PM, galaxy wrote: > Sorry .A small error in the desc

Re: RE : OBR

2009-05-29 Thread Felix Meschberger
Hi, Stéphane Jeanjean schrieb: Hi Felix, Thnanks for your answer. My application uses OBR through the API. I would like to know if there is a way to know if the bundle installation fails. Resolver.deploy() method is called after checking resolution as described in documentation. If an err