You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Ali Naddaf <al...@gmail.com> on 2011/08/05 15:37:06 UTC

Question about FileInstall

Hello everyone.

In my project, I used to use an old version of FileInstall (2.01). 
Yesterday I decided to move to the latest 3.1.10. I am using FileInstall 
to stat all my bundles and my project is mostly Equinox based. After the 
move to the recent FileInstall, I noticed that some of my bundles didn't 
start automatically (they showed <LAZY> as their status) and I was 
wondering if someone knows what I am missing. I'd be glad to provide 
more information if I know what can help to diagnose this.

Many thanks
Ali.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Recursive File Install?

Posted by jo...@exceter.com.
No, I meant if I have a folder with sub folders will felix file  
install also install the bundles which are in the sub folders?

-John

Quoting Rafael Liu <ra...@gmail.com>:

> Have you looked at Apache Felix File Install? It automatically installs
> bundles from a folder. The "recursive" that you mention is managed by OSGi's
> dependency resolution. Is that what you need?
>
> On Fri, Aug 5, 2011 at 3:45 PM, <jo...@exceter.com> wrote:
>
>>
>> Is it possible for the default felix file installer to recursively install
>> bundles, starting from a specified base directory?
>>
>> -John
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail:   
>> users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
> Rafael Liu
> +55 61 9608-7722
> http://rafaelliu.net
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Recursive File Install?

Posted by Rafael Liu <ra...@gmail.com>.
Have you looked at Apache Felix File Install? It automatically installs
bundles from a folder. The "recursive" that you mention is managed by OSGi's
dependency resolution. Is that what you need?

On Fri, Aug 5, 2011 at 3:45 PM, <jo...@exceter.com> wrote:

>
> Is it possible for the default felix file installer to recursively install
> bundles, starting from a specified base directory?
>
> -John
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 
Rafael Liu
+55 61 9608-7722
http://rafaelliu.net

Recursive File Install?

Posted by jo...@exceter.com.
Is it possible for the default felix file installer to recursively  
install bundles, starting from a specified base directory?

-John


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Question about FileInstall

Posted by Ali Naddaf <al...@gmail.com>.
Thank you for your replay, Caspar. I just added 
"felix.fileinstall.bundles.startActivationPolicy=false" to my config.ini 
and I still see the lazy status for those few bundles:
....
21      ACTIVE      org.eclipse.equinox.log_1.2.100.v20100503
22 <<LAZY>>    org.eclipse.equinox.http.jetty_2.0.0.v20100503
23      ACTIVE      javax.ws.rs.jsr311-api_1.1.1
24 <<LAZY>>    com.prodeasystems.osgi.framework.rpc_1.0.0
....

is there anything else that I can use? I have the following two set in 
my config.ini:

felix.fileinstall.bundles.startActivationPolicy=false
felix.fileinstall.bundles.new.start=true


Thanks
Ali.


On 08/05/2011 9:19 AM, Caspar MacRae wrote:
> Hi Ali,
>
> See https://issues.apache.org/jira/browse/FELIX-2675 for the "why".  The
> configuration parameters you need to look at are:
>
> *felix.fileinstall.bundles.new.start
> felix.fileinstall.bundles.startTransient
> felix.fileinstall.bundles.startActivationPolicy
> *
> All booleans.
>
>
> HTH,
> Caspar
>
>
> On 5 August 2011 14:37, Ali Naddaf<al...@gmail.com>  wrote:
>
>> Hello everyone.
>>
>> In my project, I used to use an old version of FileInstall (2.01).
>> Yesterday I decided to move to the latest 3.1.10. I am using FileInstall to
>> stat all my bundles and my project is mostly Equinox based. After the move
>> to the recent FileInstall, I noticed that some of my bundles didn't start
>> automatically (they showed<LAZY>  as their status) and I was wondering if
>> someone knows what I am missing. I'd be glad to provide more information if
>> I know what can help to diagnose this.
>>
>> Many thanks
>> Ali.
>>
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Question about FileInstall

Posted by Caspar MacRae <ea...@gmail.com>.
Hi Ali,

See https://issues.apache.org/jira/browse/FELIX-2675 for the "why".  The
configuration parameters you need to look at are:

*felix.fileinstall.bundles.new.start
felix.fileinstall.bundles.startTransient
felix.fileinstall.bundles.startActivationPolicy
*
All booleans.


HTH,
Caspar


On 5 August 2011 14:37, Ali Naddaf <al...@gmail.com> wrote:

> Hello everyone.
>
> In my project, I used to use an old version of FileInstall (2.01).
> Yesterday I decided to move to the latest 3.1.10. I am using FileInstall to
> stat all my bundles and my project is mostly Equinox based. After the move
> to the recent FileInstall, I noticed that some of my bundles didn't start
> automatically (they showed <LAZY> as their status) and I was wondering if
> someone knows what I am missing. I'd be glad to provide more information if
> I know what can help to diagnose this.
>
> Many thanks
> Ali.
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@felix.**apache.org<us...@felix.apache.org>
> For additional commands, e-mail: users-help@felix.apache.org
>
>