Skip to content
Snippets Groups Projects
Commit ee56418c authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen
Browse files

Undo compile Java classes into target folder.

This was causing class loader errors on Java 1.6.

Change-Id: Id1d9e7e369aad639115664c43a867c4d3a82f9f1
Tested: on Linux.
parent e1f8037c
No related branches found
No related tags found
No related merge requests found
......@@ -19,20 +19,11 @@ echo Compile then run the Java test.
testdir=$(readlink -fn `dirname $0`)
thisdir=$(readlink -fn `pwd`)
targetdir=${testdir}/target
if [[ "$testdir" != "$thisdir" ]]; then
echo error: must be run from inside the ${testdir} directory
echo you ran it from ${thisdir}
exit 1
fi
if [ -e "${targetdir}" ]; then
echo "clean target"
rm -fr ${targetdir}
fi
mkdir ${targetdir}
javac -d ${targetdir} -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.java
java -classpath ${targetdir} JavaTest
javac -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.java
java -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment