8c8401fc37
Thu Jul 22 2004 Tom Tromey <tromey@redhat.com> 3.0.0-21 - Set eclipse_arch for ppc - Tell build about real platform - Make swt.gtk install directory Thu Jul 22 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-20 - Don't build on ppc64 - Change Requires and BuildRequires to java >= 1.4.2 - eclipse-platform package obsoletes old eclipse package Wed Jul 21 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-19 - Update copy-platform with patch from Keith Seitz Tue Jul 20 2004 Tom Tromey <tromey@redhat.com> 3.0.0-18 - Allow copy-platform to copy non-core parts as well Tue Jul 20 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-17 - Update Red Hat documentation sources Tue Jul 20 2004 Ben Konrath <bkonrath@redhat.com> 3.0.0-16 - Add patch for welcome screen
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
#! /bin/sh
|
|
|
|
# We need to make our own copy of the eclipse platform in order to
|
|
# build against it. We do this since the build root might already
|
|
# contain a copy of the plugin we are building -- and the eclipse
|
|
# releng scripts fail in this situation. We put this script in the
|
|
# eclipse core so that it is easy to use from other spec files.
|
|
|
|
# Arguments are:
|
|
# * directory where results should end up (script will make it)
|
|
# * base location of eclipse platform install
|
|
# * an optional string that is used to select non-platform
|
|
# plugins and features. At present if a plugin or feature has
|
|
# this as a substring, it will be included. You need only run
|
|
# this script once, it will link both the platform and the other
|
|
# optionally-selected parts in a single invocation.
|
|
where=$1
|
|
eclipse=$2
|
|
optional=$3
|
|
|
|
mkdir $where
|
|
cd $where
|
|
mkdir plugins features
|
|
|
|
if test -n "$optional"; then
|
|
(cd $eclipse; ls -d plugins/*"$optional"* features/*"$optional"*) |
|
|
while read f; do
|
|
ln -s $eclipse/$f $f
|
|
done
|
|
fi
|
|
|
|
# Code after this point is automatically created by eclipse.spec.
|