<commit_before>#!/bin/sh
# ----------------------------------------------------------------------------
#
# This variable should be set to the directory where is installed ProActive
#

if [ ! $PROACTIVE ]
then
workingDir=`dirname $0`
PROACTIVE=$workingDir/../../.
fi


# ----------------------------------------------------------------------------

JAVA_HOME=${JAVA_HOME-NULL};
if [ "$JAVA_HOME" = "NULL" ]
then
echo
echo "The enviroment variable JAVA_HOME must be set the current jdk distribution"
echo "installed on your computer."
echo "Use "
echo "    export JAVA_HOME=<the directory where is the JDK>"
exit 127
fi

# ----
# Set up the classpath using classes dir or jar files
#
CLASSPATH=.
if [ -d $PROACTIVE/classes ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/classes
fi
if [ -f $PROACTIVE/ProActive.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ProActive.jar
fi
if [ -f $PROACTIVE/lib/bcel.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/bcel.jar
fi
if [ -f $PROACTIVE/lib/asm.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/asm.jar
fi
if [ -f $PROACTIVE/ProActive_examples.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ProActive_examples.jar
fi
if [ -f $PROACTIVE/ic2d.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ic2d.jar
fi
if [ -f $PROACTIVE/lib/jini-core.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jini-core.jar
fi
if [ -f $PROACTIVE/lib/jini-ext.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jini-ext.jar
fi
if [ -f $PROACTIVE/lib/reggie.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/reggie.jar
fi
if [ -f $PROACTIVE/lib/cog-jglobus.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cog-jglobus.jar
fi
if [ -f $PROACTIVE/lib/cryptix.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix.jar
fi
if [ -f $PROACTIVE/lib/cryptix32.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix32.jar
fi
if [ -f $PROACTIVE/lib/log4j.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/log4j.jar
fi
if [ -f $PROACTIVE/lib/ibis.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/ibis.jar
fi
if [ -f $PROACTIVE/lib/xercesImpl.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/xercesImpl.jar
fi
if [ -f $PROACTIVE/lib/fractal.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/fractal.jar
fi
if [ -f $PROACTIVE/lib/cryptix-asn1.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix-asn1.jar
fi
if [ -f $PROACTIVE/lib/puretls.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/puretls.jar
fi
if [ -f $PROACTIVE/lib/cog-ogce.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cog-ogce.jar
fi
if [ -f $PROACTIVE/lib/bouncycastle.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/bouncycastle.jar
fi
if [ -f $PROACTIVE/lib/fractal-adl.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/fractal-adl.jar
fi
if [ -f $PROACTIVE/lib/dtdparser.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/dtdparser.jar
fi
if [ -f $PROACTIVE/lib/ow_deployment_scheduling.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/ow_deployment_scheduling.jar
fi
if [ -f $PROACTIVE/lib/jsch.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jsch.jar
fi


echo "CLASSPATH"=$CLASSPATH
export CLASSPATH

JAVACMD=$JAVA_HOME"/bin/java -Djava.security.manager -Djava.library.path=$PROACTIVE/lib -Djava.security.policy=$workingDir/proactive.java.policy -Dlog4j.configuration=$workingDir/proactive-log4j"
export JAVACMD<commit_msg>added libs for the FractalGUI<commit_after>#!/bin/sh
# ----------------------------------------------------------------------------
#
# This variable should be set to the directory where is installed ProActive
#

if [ ! $PROACTIVE ]
then
workingDir=`dirname $0`
PROACTIVE=$workingDir/../../.
fi


# ----------------------------------------------------------------------------

JAVA_HOME=${JAVA_HOME-NULL};
if [ "$JAVA_HOME" = "NULL" ]
then
echo
echo "The enviroment variable JAVA_HOME must be set the current jdk distribution"
echo "installed on your computer."
echo "Use "
echo "    export JAVA_HOME=<the directory where is the JDK>"
exit 127
fi

# ----
# Set up the classpath using classes dir or jar files
#
CLASSPATH=.
if [ -d $PROACTIVE/classes ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/classes
fi
if [ -f $PROACTIVE/ProActive.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ProActive.jar
fi
if [ -f $PROACTIVE/lib/bcel.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/bcel.jar
fi
if [ -f $PROACTIVE/lib/asm.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/asm.jar
fi
if [ -f $PROACTIVE/ProActive_examples.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ProActive_examples.jar
fi
if [ -f $PROACTIVE/ic2d.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/ic2d.jar
fi
if [ -f $PROACTIVE/lib/jini-core.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jini-core.jar
fi
if [ -f $PROACTIVE/lib/jini-ext.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jini-ext.jar
fi
if [ -f $PROACTIVE/lib/reggie.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/reggie.jar
fi
if [ -f $PROACTIVE/lib/cog-jglobus.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cog-jglobus.jar
fi
if [ -f $PROACTIVE/lib/cryptix.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix.jar
fi
if [ -f $PROACTIVE/lib/cryptix32.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix32.jar
fi
if [ -f $PROACTIVE/lib/log4j.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/log4j.jar
fi
if [ -f $PROACTIVE/lib/ibis.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/ibis.jar
fi
if [ -f $PROACTIVE/lib/xercesImpl.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/xercesImpl.jar
fi
if [ -f $PROACTIVE/lib/fractal.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/fractal.jar
fi
if [ -f $PROACTIVE/lib/cryptix-asn1.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cryptix-asn1.jar
fi
if [ -f $PROACTIVE/lib/puretls.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/puretls.jar
fi
if [ -f $PROACTIVE/lib/cog-ogce.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/cog-ogce.jar
fi
if [ -f $PROACTIVE/lib/bouncycastle.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/bouncycastle.jar
fi
if [ -f $PROACTIVE/lib/fractal-adl.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/fractal-adl.jar
fi
if [ -f $PROACTIVE/lib/dtdparser.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/dtdparser.jar
fi
if [ -f $PROACTIVE/lib/ow_deployment_scheduling.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/ow_deployment_scheduling.jar
fi
if [ -f $PROACTIVE/lib/components/fractal-gui.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/fractal-gui.jar
fi
if [ -f $PROACTIVE/lib/components/fractal-swing.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/fractal-swing.jar
fi
if [ -f $PROACTIVE/lib/components/julia-runtime.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/julia-runtime.jar
fi
if [ -f $PROACTIVE/lib/components/julia-asm.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/julia-asm.jar
fi
if [ -f $PROACTIVE/lib/components/julia-mixins.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/julia-mixins.jar
fi
if [ -f $PROACTIVE/lib/components/SVGGraphics.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/components/SVGGraphics.jar
fi
if [ -f $PROACTIVE/lib/jsch.jar ]
then
    CLASSPATH=$CLASSPATH:$PROACTIVE/lib/jsch.jar
fi


echo "CLASSPATH"=$CLASSPATH
export CLASSPATH

JAVACMD=$JAVA_HOME"/bin/java -Djava.security.manager -Djava.library.path=$PROACTIVE/lib -Djava.security.policy=$workingDir/proactive.java.policy -Dlog4j.configuration=$workingDir/proactive-log4j"
export JAVACMD
{'fraction_non_alphanumeric': 0.17208053691275169, 'fraction_numerical': 0.004295302013422818, 'mean_word_length': 3.5239829993928353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3994862', 'n_tokens_mistral': 2873, 'n_tokens_neox': 3048, 'n_words': 483}