Hi

Things to check..
* Does the fileinstall bundle get started?
Yes
* Fileinstall starts a thread called something like
"fileinstall-<path>" for each directory is monitors. Do you see those
appearing?

Yes again.

But still no bundle loaded.
Question regarding the -Dfelix.fileinstall.dir argument: the path to provide is relative, but to what? Is it the path from where the framework is executed? From where the fileinstall bundle is loaded?

Kind regards

Le 13/04/2012 18:38, Bram de Kruijff a écrit :
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]



--
Dr Benoît Thiébault
Project Manager

   Artenum Toulouse - Science&  Groupware
   http://www.artenum.com

       Bâtiment Calfocenter
       10, rue Marguerite-Long
       31320 Castanet-Tolosan
       France
       Phone: +33 (0)5 82 95 19 00


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to