java-1.8.0-openjdk/generate_tarballs.sh
Omair Majid af21f272db Dont create class-rewriter tarball
The class-rewriter stuff was used for rhino and removed completely for a
recent version of Java 8. There's no need to create that rewriter
tarball now.
2013-05-10 17:52:26 -04:00

25 lines
634 B
Bash
Executable File

#!/bin/bash
VERSION=3506c375241e
ICEDTEA_URL=http://icedtea.classpath.org/hg/icedtea7/
wget -O icedtea7.tar.gz ${ICEDTEA_URL}/archive/${VERSION}.tar.gz
tar xzf icedtea7.tar.gz
rm -f icedtea7.tar.gz
pushd icedtea7-${VERSION}
# desktop files
tar cvzf desktop-files.tar.gz jconsole.desktop policytool.desktop
mv desktop-files.tar.gz ../
# tapsets
mv tapset/hotspot{,-1.8.0}.stp.in || exit 1
mv tapset/hotspot_gc{,-1.8.0}.stp.in || exit 1
mv tapset/hotspot_jni{,-1.8.0}.stp.in || exit 1
mv tapset/jstack{,-1.8.0}.stp.in || exit 1
tar cvzf systemtap-tapset.tar.gz tapset
mv systemtap-tapset.tar.gz ../
popd
rm -rf icedtea7-${VERSION}