2006-08-14 22:27:43 +02:00
|
|
|
#!/bin/bash
|
2006-11-09 07:51:00 +01:00
|
|
|
JAVA_HOME=/usr/lib/jvm/java-1.5.0-ibm
|
2006-08-14 22:27:43 +02:00
|
|
|
if [ ! -d build-test ]; then
|
|
|
|
mkdir build-test
|
|
|
|
mkdir build-test/classes
|
|
|
|
else
|
|
|
|
if [ ! -d build-test/classes ]; then
|
|
|
|
mkdir build-test/classes
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
echo "*** Compiling the test application ***"
|
2006-11-09 07:51:00 +01:00
|
|
|
$JAVA_HOME/bin/javac -g -sourcepath src -classpath /usr/share/java/CASA/authtoken/CasaJaasSupport.jar:/usr/share/java/CASA/authtoken/CasaAuthToken.jar -d build-test/classes src/com/novell/casa/jaas/sample/SampleApp.java src/com/novell/casa/jaas/sample/SampleAppCallbackHandler.java
|
2006-08-14 22:27:43 +02:00
|
|
|
echo "*** Done compiling ***"
|
|
|
|
|