summaryrefslogtreecommitdiffstats
path: root/test/TestJarsInJar/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestJarsInJar/make.sh')
-rw-r--r--test/TestJarsInJar/make.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/TestJarsInJar/make.sh b/test/TestJarsInJar/make.sh
new file mode 100644
index 0000000..2860603
--- /dev/null
+++ b/test/TestJarsInJar/make.sh
@@ -0,0 +1,16 @@
+rm -rf classes
+rm -rf TestJarsInJar.jar
+mkdir classes
+mkdir classes/sub
+
+javac -d classes *.java
+
+cd classes
+jar cf ClassInJar1.jar ClassInJar1.class
+jar cf sub/ClassInJar2.jar ClassInJar2.class
+jar cmf ../MANIFEST.MF ../TestJarsInJar.jar ClassInJar0.class ClassInJar1.jar sub/ClassInJar2.jar
+#jar cf ../TestJarsInJar.jar ClassInJar0.class ClassInJar1.jar sub/ClassInJar2.jar
+cd ..
+rm -rf classes
+
+jar tf TestJarsInJar.jar