Hi Jonathan, is this universal (Linux, MacOSX, Unix in general) we can apply on default distribution?
Lvc@ On 10 March 2014 03:03, Jonathan Cook <[email protected]> wrote: > For anyone else who has this problem, it happens because of symlinks. The > scripts don't take into account the fact that they might be executed as > symlinks and so the classpath is not properly set. The line to change is: > > cd `dirname $0` > > if you have an $ORIENTDB_HOME environment variable, I believe you can > change it to: > > cd "$ORIENTDB_HOME\bin" > > I use some other bash code that resolves the symlink: > > SOURCE="${BASH_SOURCE[0]}" > while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a > symlink > DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" > SOURCE="$(readlink "$SOURCE")" > [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative > symlink, we need to resolve it relative to the path where the symlink file > was located > done > DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" > #set current working directory > cd $DIR > > J5 > > > On Sun, Mar 9, 2014 at 4:55 AM, Damian Bronecki <[email protected] > > wrote: > >> I think this will be ORIENTDB_HOME/lib folder >> Try to download gremlin-groovy jar and put there. >> >> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "OrientDB" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/orient-database/lINm5rbUjT8/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > jonathan 'j5' cook | lead developer | always > prepped<http://www.alwaysprepped.com/> > > cell: 540.822.0180 > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
