A program to recognize and reward our most engaged community members
BUILD="${RAPIDMINER_HOME}/build"RAPIDMINER_JAR="${RAPIDMINER_HOME}/lib/rapidminer.jar"RAPIDMINER_CLASSPATH=""if [ -d "${BUILD}" ] ; then RAPIDMINER_CLASSPATH=${BUILD}elif [ -f "${RAPIDMINER_JAR}" ] ; then RAPIDMINER_CLASSPATH=${RAPIDMINER_JAR}else echo "Neither ${BUILD} nor ${RAPIDMINER_JAR} was found." echo "Try 'ant build' or 'ant dist' first or check the value of RAPIDMINER_HOME!" exit 1fi
RAPIDMINER_CLASSPATH=${RAPIDMINER_JAR}
if exist "%RAPIDMINER_JAR%" set RAPIDMINER_CLASSPATH=%RAPIDMINER_JAR%if exist "%BUILD%" set RAPIDMINER_CLASSPATH=%BUILD%if "%RAPIDMINER_CLASSPATH%"=="" goto error1
Assuming that you are a linux guy...
To avoid using the build - directory (I do not know why you want to do this...) replace the if-condition with this assignment:
It is such a big deal to copy the libraries, too ?
I did some similar a few months ago, when my "terminal" was slow and a linux computer was available as test machine. I copied all the libraries, modified the starting script and it worked...there is nothing more annoying than to see how a weekend-long-process is crushing in the last steps because you forgot to add some libraries to the classpath >:( ... so why risk it ?