summaryrefslogtreecommitdiff
path: root/test/files/jvm5/mkAnnotationsJar.sh
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-04-27 15:56:52 +0000
committermihaylov <mihaylov@epfl.ch>2007-04-27 15:56:52 +0000
commitcc8d4298d7845ee5922e5b51b040ed4a5320920a (patch)
tree0c5dc0237b72855a254f996b19d76441db5b2292 /test/files/jvm5/mkAnnotationsJar.sh
parenta08e8f2d88fbbeb334312abc57e5f7cdfcb79170 (diff)
downloadscala-cc8d4298d7845ee5922e5b51b040ed4a5320920a.tar.gz
scala-cc8d4298d7845ee5922e5b51b040ed4a5320920a.tar.bz2
scala-cc8d4298d7845ee5922e5b51b040ed4a5320920a.zip
Improved test case for annotations with array c...
Improved test case for annotations with array constants
Diffstat (limited to 'test/files/jvm5/mkAnnotationsJar.sh')
-rwxr-xr-xtest/files/jvm5/mkAnnotationsJar.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/jvm5/mkAnnotationsJar.sh b/test/files/jvm5/mkAnnotationsJar.sh
new file mode 100755
index 0000000000..f32441aa76
--- /dev/null
+++ b/test/files/jvm5/mkAnnotationsJar.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+OBJDIR=./classes
+
+mkdir -p ${OBJDIR}
+javac -d ${OBJDIR} -source 1.5 SourceAnnotation.java
+jar cf ../lib/annotations.jar -C ${OBJDIR} .
+rm -rf ${OBJDIR}