]> pilppa.org Git - familiar-h63xx-build.git/blobdiff - org.handhelds.familiar/packages/classpath/files/jikes-classpath.sh
Add support for building java apps and libraries
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / classpath / files / jikes-classpath.sh
diff --git a/org.handhelds.familiar/packages/classpath/files/jikes-classpath.sh b/org.handhelds.familiar/packages/classpath/files/jikes-classpath.sh
new file mode 100644 (file)
index 0000000..b27f53c
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ -r DATADIR/classpath/glibj.zip ]; then
+       jikes -bootclasspath DATADIR/classpath/glibj.zip "$@"
+else
+        echo
+        echo "-----------   ERROR   -----------"
+        echo "Cannot find/read classpath classes. Please report."
+        echo
+       exit 1
+fi