You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Felix Meschberger <fm...@gmail.com> on 2010/01/26 08:55:34 UTC

Re: Sling bundles - Start Sling without launchers

I wonder, whether it would be possible to have a meta/helper bundle,
which helps in this task ?

One approach would be a meta bundle with dependencies which we could
deploy in an OBR repository and thus simplify installation through OSGi.

Or an installation helper bundle ?

Or would the karaf feature just be simple enough ?

Regards
Felix

On 26.01.2010 02:29, Justin Edelson wrote:
> There's no reason this can't work. You need to install/start all of the
> bundles listed in
> http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder/src/main/bundles/list.xml
> (which does not include launcher.base FWIW).
> 
> Justin
> 
> On 1/25/10 7:34 PM, Razvan Dragut wrote:
>> Hello everyone,
>>
>> I am very new to Sling and currently I am trying to evaluate it for a
>> project. The way I would like to use Sling is by deploying the sling
>> bundles
>> in _my_ Felix instance. It looks like all the documentation refers to
>> either
>> standalone or web container deployment. I've tried to install the bundles
>> separately but when these bundles are activated, they do not create a
>> repository and presumably they do none of the good things the
>> standalone/web
>> distributions launcher does. Also tried the *launcher.base and
>> *launcher.bundles but the *launcher.bundles is not a valid OSGi bundle
>> as it
>> only wraps everything in a jar file.
>> I guess I might have missed some bundles that have some activators
>> implemented or maybe it's not even possible to start Sling like that ?
>>
>> If I missed some bundles - Which bundles are those that have
>> activators to
>> initialise Sling to a usable state ? ... I've tried tons of them, I even
>> tried to look at the code, but couldn't spot it.
>>
>> If it's not possible to have a Sling instance initialised this manner -
>> Wouldn't it restrict Sling's use cases ? Maybe one of the very likely use
>> case ?
>>
>> Thanks very much,
>>
>> Best Regards,
>>
>> Razvan
>>
>>    
> 
> 

Re: Sling bundles - Start Sling without launchers

Posted by Justin Edelson <ju...@gmail.com>.
I think it'd be reasonably simple to produce this meta bundle via 
maven-launchpad-plugin.

On 1/26/10 2:55 AM, Felix Meschberger wrote:
> I wonder, whether it would be possible to have a meta/helper bundle,
> which helps in this task ?
>
> One approach would be a meta bundle with dependencies which we could
> deploy in an OBR repository and thus simplify installation through OSGi.
>
> Or an installation helper bundle ?
>
> Or would the karaf feature just be simple enough ?
>
> Regards
> Felix
>
> On 26.01.2010 02:29, Justin Edelson wrote:
>    
>> There's no reason this can't work. You need to install/start all of the
>> bundles listed in
>> http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder/src/main/bundles/list.xml
>> (which does not include launcher.base FWIW).
>>
>> Justin
>>
>> On 1/25/10 7:34 PM, Razvan Dragut wrote:
>>      
>>> Hello everyone,
>>>
>>> I am very new to Sling and currently I am trying to evaluate it for a
>>> project. The way I would like to use Sling is by deploying the sling
>>> bundles
>>> in _my_ Felix instance. It looks like all the documentation refers to
>>> either
>>> standalone or web container deployment. I've tried to install the bundles
>>> separately but when these bundles are activated, they do not create a
>>> repository and presumably they do none of the good things the
>>> standalone/web
>>> distributions launcher does. Also tried the *launcher.base and
>>> *launcher.bundles but the *launcher.bundles is not a valid OSGi bundle
>>> as it
>>> only wraps everything in a jar file.
>>> I guess I might have missed some bundles that have some activators
>>> implemented or maybe it's not even possible to start Sling like that ?
>>>
>>> If I missed some bundles - Which bundles are those that have
>>> activators to
>>> initialise Sling to a usable state ? ... I've tried tons of them, I even
>>> tried to look at the code, but couldn't spot it.
>>>
>>> If it's not possible to have a Sling instance initialised this manner -
>>> Wouldn't it restrict Sling's use cases ? Maybe one of the very likely use
>>> case ?
>>>
>>> Thanks very much,
>>>
>>> Best Regards,
>>>
>>> Razvan
>>>
>>>
>>>        
>>
>>