e69aaed
#!/bin/bash
ab7f30d
set -e
ab7f30d
e38409a
NAME="eclipse-dltk"
a794e59
TAG=R5_4_0
e69aaed
d5bf46e
rm -fr $NAME-$TAG
d5bf46e
mkdir $NAME-$TAG
d5bf46e
pushd $NAME-$TAG
ab7f30d
a794e59
wget http://git.eclipse.org/c/dltk/org.eclipse.dltk.releng.git/snapshot/org.eclipse.dltk.releng-$TAG.tar.xz
a794e59
tar xfs org.eclipse.dltk.releng-$TAG.tar.xz
a794e59
rm org.eclipse.dltk.releng-$TAG.tar.xz
ab7f30d
mv org.eclipse.dltk.releng-$TAG org.eclipse.dltk.releng
ab7f30d
a794e59
wget http://git.eclipse.org/c/dltk/org.eclipse.dltk.core.git/snapshot/org.eclipse.dltk.core-$TAG.tar.xz
a794e59
tar xfs org.eclipse.dltk.core-$TAG.tar.xz
a794e59
rm org.eclipse.dltk.core-$TAG.tar.xz
ab7f30d
mv org.eclipse.dltk.core-$TAG org.eclipse.dltk.core
ab7f30d
a794e59
wget http://git.eclipse.org/c/dltk/org.eclipse.dltk.ruby.git/snapshot/org.eclipse.dltk.ruby-$TAG.tar.xz
a794e59
tar xfs org.eclipse.dltk.ruby-$TAG.tar.xz
a794e59
rm org.eclipse.dltk.ruby-$TAG.tar.xz
ab7f30d
mv org.eclipse.dltk.ruby-$TAG org.eclipse.dltk.ruby
ab7f30d
a794e59
wget http://git.eclipse.org/c/dltk/org.eclipse.dltk.tcl.git/snapshot/org.eclipse.dltk.tcl-$TAG.tar.xz
a794e59
tar xfs org.eclipse.dltk.tcl-$TAG.tar.xz
a794e59
rm org.eclipse.dltk.tcl-$TAG.tar.xz
ab7f30d
mv org.eclipse.dltk.tcl-$TAG org.eclipse.dltk.tcl
ab7f30d
a794e59
wget http://git.eclipse.org/c/dltk/org.eclipse.dltk.sh.git/snapshot/org.eclipse.dltk.sh-$TAG.tar.xz
a794e59
tar xfs org.eclipse.dltk.sh-$TAG.tar.xz
a794e59
rm org.eclipse.dltk.sh-$TAG.tar.xz
a794e59
mv org.eclipse.dltk.sh-$TAG org.eclipse.dltk.sh
a794e59
e38409a
popd
e69aaed
Sami Wagiaalla e4899a1
#Remove any commited jars
d5bf46e
find $NAME-$TAG -name *.jar -delete
d5bf46e
find $NAME-$TAG -name *.class -delete
e69aaed
d5bf46e
echo "Creating tarball '$NAME-$TAG.tar.xz'..."
d5bf46e
tar -caf $NAME-$TAG.tar.xz $NAME-$TAG