eclipse/get-eclipse.sh
Mat Booth 365159b3a7 Update to latest 4.5.0 I-build
- Drop upstreamed jetty9/servlet and workspace picker patches
- Drop upstreamed patches for bug 903537 and bug 444143
- Update eclipse-build snapshot for ant dependency
- Ship missing features used by some other projects' target platform
- Build with mvn_build macro
- Some spec file clean-up
2015-02-12 12:03:51 +00:00

37 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
set -e
AGGREGATOR_PATH=git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
TAG=I20150210-0800
rm -rf R4_platform-aggregator-$TAG
rm -rf R4_platform-aggregator-$TAG.tar.xz
# adding --depth 1 here may result in a quicker clone, but did not work for me
git clone --branch $TAG $AGGREGATOR_PATH R4_platform-aggregator-$TAG
pushd R4_platform-aggregator-$TAG
git submodule init
git submodule update
rm -rf bootstrap streams scripts
# Comment this line to get a shallow clone.
find . -type d -name ".git" | xargs rm -rf
# Delete pre-built binary artifacts
# Note: osgi.annotation.jar contains the source for annotations used only at build-time
# we don't actually ship it or it's contents with the platform
find . -type f -name *.jar ! -name osgi.annotation.jar -delete
find . -type f -name *.class -delete
find . -type f -name *.so -delete
find . -type f -name *.dll -delete
find . -type f -name *.jnilib -delete
# Remove pre-compiled native launchers
rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/
popd
tar cJf R4_platform-aggregator-$TAG.tar.xz R4_platform-aggregator-$TAG