Re: Deployment Admin implementation

2011-03-04 Thread Marcel Offermans
+1 On 4 Mar 2011, at 15:44 , Richard S. Hall wrote: > It would definitely be better to focus the effort in a single place... > > -> richard > > On 3/4/11 2:59, Clement Escoffier wrote: >> Hi, >> >> We have extended the felix implementation on >> https://github.com/akquinet/osgi-deployment-admi

Re: Deployment Admin implementation

2011-03-04 Thread Richard S. Hall
It would definitely be better to focus the effort in a single place... -> richard On 3/4/11 2:59, Clement Escoffier wrote: Hi, We have extended the felix implementation on https://github.com/akquinet/osgi-deployment-admin. We can merge it back. Initially, this implementation was made specifica

Re: Deployment Admin implementation

2011-03-04 Thread Clement Escoffier
Hi, We have extended the felix implementation on https://github.com/akquinet/osgi-deployment-admin. We can merge it back. Initially, this implementation was made specifically for OSGi on Android, but we used it in plain Java too. The main differences (as far as I remember) are: * support of the u

Re: Deployment Admin implementation

2011-03-03 Thread Marcel Offermans
Point taken guys! :) On 3 Mar 2011, at 17:34 , Guillaume Nodet wrote: > On Thu, Mar 3, 2011 at 16:19, Richard S. Hall wrote: >> On 3/3/11 7:08, Marcel Offermans wrote: >>> >>> What is missing is mainly support to uninstall deployment packages. Apache >>> ACE uses the current implementation, but

Re: Deployment Admin implementation

2011-03-03 Thread Guillaume Nodet
On Thu, Mar 3, 2011 at 16:19, Richard S. Hall wrote: > On 3/3/11 7:08, Marcel Offermans wrote: >> >> What is missing is mainly support to uninstall deployment packages. Apache >> ACE uses the current implementation, but it never uninstalls a deployment >> package (it replaces it with a new, empty

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
I've just checked it. It works. Thanks for help. On 03.03.2011 17:53, Guillaume Nodet wrote: You could write a bundle and inside this bundle have an activator displaying the splash window. You can configure this bundle to be installed using etc/startup.properties, just use a very low start leve

Re: Deployment Admin implementation

2011-03-03 Thread Richard S. Hall
On 3/3/11 10:19, Richard S. Hall wrote: On 3/3/11 7:08, Marcel Offermans wrote: What is missing is mainly support to uninstall deployment packages. Apache ACE uses the current implementation, but it never uninstalls a deployment package (it replaces it with a new, empty version) so we never go

Re: Deployment Admin implementation

2011-03-03 Thread Richard S. Hall
On 3/3/11 7:08, Marcel Offermans wrote: What is missing is mainly support to uninstall deployment packages. Apache ACE uses the current implementation, but it never uninstalls a deployment package (it replaces it with a new, empty version) so we never got round to implementing that. A contrib

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
Thanks a lot! What is the default start level for custom bundles? I've found property karaf.systemBundlesStartLevel=50. Is that means that all bundles from "system" folder will start on 50th level? On 03.03.2011 17:53, Guillaume Nodet wrote: You could write a bundle and inside this bundle h

Re: Deployment Admin implementation

2011-03-03 Thread Guillaume Nodet
You could write a bundle and inside this bundle have an activator displaying the splash window. You can configure this bundle to be installed using etc/startup.properties, just use a very low start level and it should work. It would not be tied to felix at all this way. On Thu, Mar 3, 2011 at 15:

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
I don't need to embed it. I'd like to show splash when Karaf starts, if it is possible :) On 03.03.2011 15:20, Guillaume Nodet wrote: Karaf itself isn't really meant to be embedded, so the features stuff can be reused outside karaf in an embedded Felix. On Thu, Mar 3, 2011 at 11:28, niiba...@

Re: Deployment Admin implementation

2011-03-03 Thread Guillaume Nodet
Karaf itself isn't really meant to be embedded, so the features stuff can be reused outside karaf in an embedded Felix. On Thu, Mar 3, 2011 at 11:28, niiba...@gmail.com wrote: >  That's cool, but my project is very tied to raw felix implementation. For > example Felix is embedded in some places,

Re: Deployment Admin implementation

2011-03-03 Thread Marcel Offermans
What is missing is mainly support to uninstall deployment packages. Apache ACE uses the current implementation, but it never uninstalls a deployment package (it replaces it with a new, empty version) so we never got round to implementing that. A contribution there would definitely help. I also

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
I use "felix.systembundle.activators" property. Unfortunately, this property can be set only in runtime, because it contains list of "BundleActivator" instances. I've implemented custom felix runner where I put my system activator. If Karaf allows somehow to hook default runner with custom sy

Re: Deployment Admin implementation

2011-03-03 Thread Guillaume Nodet
Maybe, how do you do that with Felix ? On Thu, Mar 3, 2011 at 11:28, niiba...@gmail.com wrote: >  That's cool, but my project is very tied to raw felix implementation. For > example Felix is embedded in some places, because I need to make Splash > screen and some other UI features during starting

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
That's cool, but my project is very tied to raw felix implementation. For example Felix is embedded in some places, because I need to make Splash screen and some other UI features during starting. Can I register custom startup hooks i Karaf? On 03.03.2011 12:48, Guillaume Nodet wrote: Closer

Re: Deployment Admin implementation

2011-03-03 Thread Alasdair Nottingham
The Aries project also has applications which do similar things, we are also working on subsystems. Alasdair Nottingham On 3 Mar 2011, at 09:48, Guillaume Nodet wrote: > Closer to plans, I think we have Karaf features, see > http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/provision

Re: Deployment Admin implementation

2011-03-03 Thread Guillaume Nodet
Closer to plans, I think we have Karaf features, see http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/provisioning.html On Thu, Mar 3, 2011 at 10:11, niiba...@gmail.com wrote: >  Hello! > > Is there any closest plans to implement Deployment Admin Spec. It seems that > Eclipse Virgo al

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
Thanks for information. When do you plan to make a release? Maybe I can help to make it faster? :) Close bugs, f.e. On 03.03.2011 12:37, Felix Meschberger wrote: Hi, We in fact have an implementation already in Apache Felix: http://svn.apache.org/repos/asf/felix/trunk/deploymentadmin/

Re: Deployment Admin implementation

2011-03-03 Thread Felix Meschberger
Hi, We in fact have an implementation already in Apache Felix: http://svn.apache.org/repos/asf/felix/trunk/deploymentadmin/ I don't think we have a release yet. Regards Felix Am Donnerstag, den 03.03.2011, 09:11 + schrieb niiba...@gmail.com: > Hello! > > Is there any closest plans to i

Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
Hello! Is there any closest plans to implement Deployment Admin Spec. It seems that Eclipse Virgo already has a common ability (PAR's, Plans and Configurations). I'm interesting, if such functions will be implemented in Felix. It would be very useful to implement something like Plan in Virg