Skip to main content
summaryrefslogtreecommitdiffstats
blob: a47012e20687515457c88a52ade74cfbf3e42882 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Set up test environment
# - the assumption is that the necessary zip files are in a zip file
# in the eclipse install
#

rm -fr testspace
mkdir testspace
cd testspace
unzip -qq ../zip/eclipse-SDK-2.1.1-linux-gtk.zip

cd eclipse/plugins
unzip -qq ../../../zip/org.eclipse.test_2.1.0.zip
unzip -qq ../../../zip/org.eclipse.ant.optional.junit_2.1.0.zip
cd ..

export BUILD_SITE=../../workspace/build.site

for d in plugins features
do
	for i in $BUILD_SITE/$d/*
	do
		export DEST=$d/`echo $i | sed -e s:$BUILD_SITE/$d/:: -e s/.jar//`
		mkdir $DEST
		cd $DEST
		jar xf ../../$i
		cd ../..
	done
done

# Back up to the top dir
cd ../..

Back to the top