Hi Ben,
On Fri, Apr 13, 2012 at 5:01 PM, Benoît Thiébault <[email protected]> wrote:
> Ok thanks.
>
> I tried quickly didn't manage to make it work:
> - I downloaded the jar file
> - copied it under felix/bundle directory
> - created a felix/test directory and moved a bundle in it
> - lauched felix with command line
>
> java -jar -D felix.fileinstall.dir=test
> -Dfelix.config.properties=file:conf/config.properties bin/felix.jar
>
> The file install bundle started correctly, but does not see the bundle in
> the test folder.
> I also tried to add felix.fileinstall.dir=test in the config.properties
> files be no luck as well.
I have this exact scenario working. It has to be some little detail ;)
I am using org.apache.felix.main-4.0.2.jar with
org.apache.felix.fileinstall-3.1.10. Basically the only thing I do
from the properties is auto installing fileinstall and after that its
takes care of multiple deploy directories.
{snip}
felix.auto.start.1= \
reference:file:lib/org.apache.felix.fileinstall-3.1.10.jar
{snip}
With this in place the following basic command work for my with
fileinstall picking up config from both dirs.
> java -jar -Dfelix.fileinstall.dir=srv\amdatu,deploy
> -Dfelix.config.properties=file:conf\amdatu-platform.properties
> lib\org.apache.felix.main-4.0.2.jar
Things to check..
* Does the fileinstall bundle get started?
* Fileinstall starts a thread called something like
"fileinstall-<path>" for each directory is monitors. Do you see those
appearing?
good luck! ;)
Bram
java -jar -Dfelix.fileinstall.dir=dep
oy,servers\multitenant
-Dfelix.config.properties=file:conf\amdatu-platform.properties
lib\org.apache.felix.main-4.0.2.jar
> Le 13/04/2012 16:35, Richard S. Hall a écrit :
>
>> No. It is just a simple mechanism. If you want something more complex, you
>> should probably use File Install.
>>
>> -> richard
>>
>> On 4/13/12 10:25 , Benoît Thiébault wrote:
>>>
>>> Hi everyone,
>>>
>>> Is it possible for Felix to auto deploy several directories with the
>>> felix.auto.deploy.dir setting?
>>>
>>> Kind regards,
>>>
>>> Ben
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]