Hi James
I tried this and it doesn't work for me too. It can be an issue in
Felix. Could you try to create separate configuration file for each
subdirectory you need as described here
http://felix.apache.org/site/apache-felix-file-install.html, section
*Watching multiple directories with File Install*?
Regards
Krzysztof
On 22.07.2014 15:30, BURN, James wrote:
> Hi
>
> I can't seem to get a comma separated list of directories to be read in.
> Felix/ServiceMix seems to be reading the line as a whole, so I get:
>
> 2014-07-22 14:13:19,341 | WARN | 0c-73fa7ffbe4f7) | fileinstall
> | ? ? | 6 -
> org.apache.felix.fileinstall - 3.2.8 | /opt/apache-servicemix-5.1.0/deploy ,
> /opt/apache-servicemix-5.1.0/deploy/NewFolder ,
> /opt/apache-servicemix-5.1.0/deploy/OtherNewFolder does not exist, please
> create it.
>
> etc/org.apache.felix.fileinstall-deploy.cfg contains:
> felix.fileinstall.dir = /opt/apache-servicemix-5.1.0/deploy ,
> /opt/apache-servicemix-5.1.0/deploy/NewFolder ,
> /opt/apache-servicemix-5.1.0/deploy/OtherNewFolder
>
> And the NewFolder... directories are under /deploy
>
> I tried putting the full filename/path in quotes, taking out the
> ${karaf.base} variable and escaping the comma, to no avail.
>
> We're using ServiceMix 5.1.0 on Centos 6.5. I see from
> http://felix.apache.org/site/apache-felix-file-install.html this should work,
> but I'm out of ideas.
>
> Any thoughts?
>
> James
>
>
> -----Original Message-----
> From: BURN, James [mailto:[email protected]]
> Sent: 18 July 2014 10:36
> To: [email protected]
> Subject: RE: sub-directories in /deploy ?
>
> Super, thanks JB. I'll give that a go.
>
> James
>
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:[email protected]]
> Sent: 16 July 2014 17:58
> To: [email protected]
> Subject: Re: sub-directories in /deploy ?
>
> Hi James,
>
> You can edit etc/org.apache.felix.fileinstall-deploy.cfg file and add
> multiple directories in the felix.fileinstall.dir property:
>
> felix.fileinstall.dir=${karaf.base}/deploy,${karaf.base}/deploy/other,${karaf.base}/deploy/foo
>
> Regards
> JB
>
> On 07/16/2014 04:41 PM, BURN, James wrote:
>> Hi
>>
>> The implementation of ServiceMix 5.1.0 we are testing (on Centos) involves
>> around 60 different blueprint-camel routes.
>>
>> For development these routes are in subfolders with an average of 5 in each
>> directory. As far as I can tell, as these are all hot-deployed, the 60
>> individual routes will all end up dumped in $SMhome/deploy.
>>
>> This may cause confusion (!), so we've got a fairly good naming convention
>> going on to help. I just wanted to check is there any way of setting up
>> sub-directories in the deploy directory?
>>
>> Thanks
>>
>> James
>>
>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
--
Krzysztof Sobkowiak
JEE & OSS Architect | Senior Solution Architect @ Capgemini | Committer
@ ASF
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: [email protected] <mailto:[email protected]> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC