KARAF_HOME doesn't mean the Karaf home to users. It's the main folder hosting different Karaf instances.

By default KARAF_BASE == KARAF_HOME.

Regards
JB

On 01/22/2014 12:31 PM, cbiava wrote:
More over I noticed in bin/karaf the following lines :
locateHome() {
     if [ "x$KARAF_HOME" != "x" ]; then
         warn "Ignoring predefined value for KARAF_HOME"
     fi

     # In POSIX shells, CDPATH may cause cd to write to stdout
     (unset CDPATH) >/dev/null 2>&1 && unset CDPATH

     KARAF_HOME=`cd "$DIRNAME/.."; pwd`
     if [ ! -d "$KARAF_HOME" ]; then
         die "KARAF_HOME is not valid: $KARAF_HOME"
     fi
}

thus, I can't use an other KARAF_HOME dir.

Christophe



--
View this message in context: 
http://karaf.922171.n3.nabble.com/using-KARAF-HOME-BASE-vars-tp4031255p4031259.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to