[ 
https://issues.apache.org/jira/browse/FELIX-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044912#comment-13044912
 ] 

Sahoo commented on FELIX-2982:
------------------------------

I understand the effect of noInitialDelay=true, but this bug is about 
noInitialDelay=false. When noInitialDelay=false, since currently there is no 
guaranteed lower bound for initial delay, I don't see what behavior we are 
breaking by introducing a lower bound for the delay.

> noInitialDelay option does not work
> -----------------------------------
>
>                 Key: FELIX-2982
>                 URL: https://issues.apache.org/jira/browse/FELIX-2982
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>         Environment: fileinstall 3.1.10
>            Reporter: Jonathan Anstey
>            Assignee: Guillaume Nodet
>         Attachments: FELIX-2982.patch
>
>
> The noInitialDelay option currently does not work - bundles are installed 
> immediately regardless of the option's value. To reproduce this, I used 
> Apache Karaf 2.2.1, which uses fileinstall 3.1.10. I edited the 
> etc/org.apache.felix.fileinstall-deploy.cfg file to something like this:
> {code}
> felix.fileinstall.dir     = ${karaf.base}/deploy
> felix.fileinstall.tmpdir  = ${karaf.data}/generated-bundles
> felix.fileinstall.poll    = 10000
> felix.fileinstall.noInitialDelay = false
> {code}
> I expected the jar I had in the deploy dir 
> (http://repo1.maven.org/maven2/org/apache/camel/camel-core/2.7.2/camel-core-2.7.2.jar)
>  to be installed 10 seconds after the container starts with this config, 
> however it is installed immediately.
> Attaching a proposed fix for this shortly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to