diff options
author | Sven Gothel <[email protected]> | 2011-11-29 04:50:16 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-29 04:50:16 +0100 |
commit | 60ea6727f1a089f6afd17fcea3bd7d29353af9b4 (patch) | |
tree | 17faa0b8d171f4790f33a1995e1ec1ca209aa216 /test/TestJarsInJar/make.sh | |
parent | b3d5e20c04af353b246c9b2607c145f7dbd508dd (diff) |
Add 'TestJarsInJar.jar' test JAR file for upcoming JarUtil tests (Jar in Jar).
Diffstat (limited to 'test/TestJarsInJar/make.sh')
-rw-r--r-- | test/TestJarsInJar/make.sh | 16 |
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 |