Re: Problems with system.properties

2011-12-07 Thread Bengt Rodehav
JB, Just wanted to check if you did get the time to look into this. /Bengt 2011/11/22 Bengt Rodehav be...@rodehav.com Do you think my two wishes could be included in Karaf 2.2.5? That would be terrific. /Bengt Den 22 nov 2011 10:16 skrev Jean-Baptiste Onofré j...@nanthrax.net: Hi

Re: Problems with system.properties

2011-11-22 Thread Bengt Rodehav
Do you think my two wishes could be included in Karaf 2.2.5? That would be terrific. /Bengt Den 22 nov 2011 10:16 skrev Jean-Baptiste Onofré j...@nanthrax.net: Hi Bengt, sorry, I was busy on another project yesterday. I will check it this afternoon. Regards JB On 11/22/2011 10:04 AM,

Re: Problems with system.properties

2011-11-15 Thread Jean-Baptiste Onofré
Hi Bengt, My comments inline: I guess it's some kind of catch 22 going on here. I would really like to be able to use system properties at this point. Can I create a JIRA for this? It should work already. Let me take a look, I will raise a Jira if the system variables are not used. I

Re: Problems with system.properties

2011-11-15 Thread Bengt Rodehav
Thanks for your answers JB. I created the following JIRA: https://issues.apache.org/jira/browse/KARAF-1014 /Bengt 2011/11/15 Jean-Baptiste Onofré j...@nanthrax.net Hi Bengt, My comments inline: I guess it's some kind of catch 22 going on here. I would really like to be able to use

Re: Problems with system.properties

2011-11-14 Thread Bengt Rodehav
JB, Did try out your suggestion and I got it to work but I have a question (and perhaps a request for change). This is what I did: I modified config.properties and changed the ${includes} property as follows: *${includes} = jre.properties custom.properties ${confdir}/custom.properties *

Re: Problems with system.properties

2011-11-11 Thread Jean-Baptiste Onofré
Hi Bengt, the system.properties is not directly evaluate. Could you try to define your variable in the custom.properties ? Regards JB On 11/11/2011 03:51 PM, Bengt Rodehav wrote: Hi, I'm using Karaf 2.2.3. We're using Karaf+Camel as the basis for an integration platform. We use config admin

Re: Problems with system.properties

2011-11-11 Thread Bengt Rodehav
Thanks for your reply JB, Yes, if I put the variables in custom.properties they can reference each other directly. Given these lines in custom.properties: *MyRootDir=C:/Temp* *MySubDir=${MyRootDir}/Sub* Gives the value C:/Temp/Sub for the variable MySubDir. Thanks! I guess then that best

Re: Problems with system.properties

2011-11-11 Thread Jean-Baptiste Onofré
Hi Bengt, it's exactly the purpose of custom.properties. Basically: - system.properties is reserved for Karaf itself. - config.properties is reserved for application - custom.properties is reserved for your usage You can put the custom.properties where you want. You just need to update the