Re: Configuration Admin service example?

2011-04-26 Thread Christian Schneider
Hi Cristiano, the question is what framework should the example use. Should it be plain osgi, spring dm or blueprint? Christian Am 26.04.2011 00:03, schrieb Cristiano Gavião: Hi, I would like to use Configuration Admin Service with Declared Service. But I couldn't find yet a updated tutor

Re: A better life: quick webapp deploy

2011-04-26 Thread Eike Kettner
hi this might be also interesting. I once started a thread in wicket-user mailing list about this problem. (the thread is http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-rc2-and-aggregate-jar-for-osgi-td3356667.html) I think the conclusion was to build your own wicket bundle as it was dist

Re: Configuration Admin service example?

2011-04-26 Thread Bertrand Delacretaz
Hi, On Tue, Apr 26, 2011 at 12:03 AM, Cristiano Gavião wrote: > I would like to use Configuration Admin Service with Declared Service. > But I > couldn't find yet a updated tutorial with a good example If your goal is to create Declarative Services that have configuration parameters, th

Re: Configuration Admin service example?

2011-04-26 Thread Cristiano Gavião
Hi Christian, Actually, I would like a way to dynamically setup my app service using Configuration admin service and able its use on both equinox or felix/karaf. I could see that Declarative Services is out of box on equinox while Karaf has Blueprint out of box. Now I'm investigating if would b

Re: Configuration Admin service example?

2011-04-26 Thread Cristiano Gavião
Hi Bertrand, I found maven-scr-plugin annotation very interesting and easy... Now I'm trying figuring out how I could inject properties from a config file on the service using DS... thanks Cristiano 2011/4/26 Bertrand Delacretaz > Hi, > > On Tue, Apr 26, 2011 at 12:03 AM, Cristiano Gavião >

Re: Configuration Admin service example?

2011-04-26 Thread Christian Schneider
Hi Cristiano, I have most experience in spring dm. Currently spring is the most comprehensive solution. The problem with spring dm is that you need to import any package the your spring config defines into your bundle. This is far from ideal but it works. I have also some experience with blu

Re: Configuration Admin service example?

2011-04-26 Thread Bertrand Delacretaz
Hi, On Tue, Apr 26, 2011 at 4:46 PM, Cristiano Gavião wrote: > ...I found maven-scr-plugin annotation very interesting and easy... > > Now I'm trying figuring out how I could inject properties from a config file > on the service using DS... The Felix file installer ( http://felix.apache.org/site

Re: A better life: quick webapp deploy

2011-04-26 Thread Daniele Dellafiore
Hey Eike. Yes, creating a wicket-stuff project for that is the best solution. But first I want to make sure that everything really works in OSGi and Wicket. This morning I succeeded in installing my first complete app on Karaf, with wicket-spring (and aslo spring-security, mongodb etc...) But th

Re: A better life: quick webapp deploy

2011-04-26 Thread Achim Nierbeck
Hi Daniele, it's better to have a bunch of tools to choose, than only one tool not working ;) I guess somebody already did help you with the creation of wab archives. This would have been my next one, create a manifest with the maven-bundle-plugin and create your war archive with the standard war

Re: A better life: quick webapp deploy

2011-04-26 Thread Daniele Dellafiore
On Tue, Apr 26, 2011 at 7:34 PM, Achim Nierbeck wrote: > Hi Daniele, > > it's better to have a bunch of tools to choose, than only one tool not > working ;) > > I guess somebody already did help you with the creation of wab archives. > This would have been my next one, create a manifest with the >

source code in obr

2011-04-26 Thread Lance Frohman
Sorry if this was already covered, but I could not find much information on it. We are using OBR, and I want to allow the source code of bundles to be available. The OBR documentation mentions this. The felix web site http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html says Bundle

Re: ParseException in serviceComponents.xml when using 'updated' attribute of @Reference annotation

2011-04-26 Thread Mike Ottinger
Thanks so much Pierre, great info in here. I've devised an alternative approach to get around the below. I'll be keen to see what comes of this, whether this is bug or not, it'd be a great way to simplify some of my classes. Thanks again! On Apr 25, 2011, at 5:55 AM, Pierre De Rop wrote: > @M