Hi Tom,
Cellar "filters" some properties (like felix.fileinstall.tmpdir, etc),
but not all.
The issue is that you cannot configure (for now) the properties that you
want to filter. I created a Jira about that.
As a workaround, I create the Jira and add this property in the default
filter set.
Thanks,
Regards
JB
On 10/30/2013 09:42 AM, Tom Leung wrote:
I have setup two machine with Karaf v2.2.3 and Cellar v2.3.2 installed
However, one machine is on Max OSX, the other is in Windows
When I fire the following command in Window machine, Cellar will install
the feature under MacOS X.
cluster:feature-install default transaction
Karaf will install the configuration file named
"org.apache.aries.transaction.cfg" under etc subdirectory.
The configuration file under Windows machine works as expected without
any installation error.
However, it is not the same case for Mac OSX machine as follows:
retina:etc leungchaksun$ cat org.apache.aries.transaction.cfg
aries.transaction.recoverable = true
aries.transaction.howl.bufferSizeKBytes = 4
aries.transaction.howl.logFileDir =
C:\\Users\\user\\Desktop\\apache-karaf-2.3.3\\data/txlog
org.apache.karaf.features.configKey = org.apache.aries.transaction
aries.transaction.timeout = 600
aries.transaction.howl.maxLogFiles = 2
aries.transaction.howl.maxBlocksPerFile = 512
The same configuration file under Mac OS contains the path from Windows
machine.
It is not what we want, may Apache cellar keep not to expend any
environment variable inside the configuration file?
the expected configuration file should be as follows:
retina:etc leungchaksun$ cat org.apache.aries.transaction.cfg
aries.transaction.recoverable = true
aries.transaction.howl.bufferSizeKBytes = 4
aries.transaction.howl.logFileDir = ${karaf.data}/txlog
org.apache.karaf.features.configKey = org.apache.aries.transaction
aries.transaction.timeout = 600
aries.transaction.howl.maxLogFiles = 2
aries.transaction.howl.maxBlocksPerFile = 512
Best Rgds,
Tom
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com