Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Take care of LD_LIBRARY_PATH.
[simgrid.git] / buildtools / CPACK / test_java.sh
1 #! /bin/sh
2 echo "\n\n"
3 pwd
4 export LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"
5 export CLASSPATH="`pwd`/src/simgrid.jar:$CLASSPATH"
6 cd $1
7 export CLASSPATH="$CLASSPATH:`pwd`"
8 pwd
9
10 echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
11 echo "CLASSPATH = $CLASSPATH"
12
13 echo "\n\n"
14 echo "java $2 *platform.xml *deployment.xml"
15 echo "\n\n"
16 java $2 *platform.xml *deployment.xml