eclipse/eclipse-copy-platform.sh

45 lines
1.4 KiB
Bash
Raw Normal View History

auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
#! /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.
# Test to see if the minimum arguments
# are specified
if [ $# -lt 2 ]; then
echo "Usage: copy-platform where eclipse_base optional_directories"
echo "For example: copy-plaform ~/SDK /usr/share/eclipse cdt pydev jdt"
exit 1
fi
where=$1; shift
eclipse=$1; shift
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
mkdir $where
cd $where
mkdir plugins features links
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# Are there any optional arguments left?
if [ $# -gt 0 ]; then
for optional in "$@"; do
(cd $eclipse; ls -d plugins/*"$optional"* features/*"$optional"*) |
while read f; do
ln -s $eclipse/$f $f
done
done
fi
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# Code after this point is automatically created by eclipse.spec.