MrEasy edited a comment on issue #2575: ARTEMIS-2269 Using karaf.etc for config 
location
URL: https://github.com/apache/activemq-artemis/pull/2575#issuecomment-470002715
 
 
   > So this def needs a default please
   
   You mean a default like in this construct?
   `${karaf.etc:etc}`
   This unfortunately does not work in the .cfg file - will resolve to empty 
string.
   
   It **does** work though in the artemis.xml and that would actually have been 
my next planned request to make the directories for journal-files etc. 
independent of the run-directory and put it under karaf.data like so:
   
`<journal-directory>${karaf.data:.}/artemis/local/journal</journal-directory>`
   however this does not to result in the expected directories then. It seems 
Artemis itself is building the sub-dirs depending upon whether the path is 
absolute or relative, so with karaf.data above being unset, this would result 
in `data/artemis/local/artemis/local/journal` which is not really what is 
desired.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to