* [gentoo-commits] gentoo-x86 commit in dev-util/eclipse-sdk/files/3.5: eclipserc-3.5 eclipse-3.5
@ 2009-12-09 18:19 Alistair Bush (ali_bush)
0 siblings, 0 replies; only message in thread
From: Alistair Bush (ali_bush) @ 2009-12-09 18:19 UTC (permalink / raw
To: gentoo-commits
ali_bush 09/12/09 18:19:32
Added: eclipserc-3.5 eclipse-3.5
Log:
Version bump, moved eclipse 3.5 from overlay. Thanks to Matt Whitlock <matt@whitlock.name> for all the great work.
(Portage version: 2.1.7.10/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-util/eclipse-sdk/files/3.5/eclipserc-3.5
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eclipse-sdk/files/3.5/eclipserc-3.5?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eclipse-sdk/files/3.5/eclipserc-3.5?rev=1.1&content-type=text/plain
Index: eclipserc-3.5
===================================================================
# This file specifies some initial Eclipse settings, like memory allowed
# These settings only affect Eclipse startup and overall configuration
# Main Eclipse configuration should be done within Eclipse (with the GUI)
# Following variables controls the minimal and maximum amounts of memory
# allocated to Eclipse (respectively).
# Increase those numbers if you get OutOfMemory errors.
ECLIPSE_XMS=128m
ECLIPSE_XMX=256m
# Following variables controls the minimal and maximum amounts of memory
# allocated to the permanent generation space.
# This space contains data related to all classes.
# Thus, if you use a lot of Eclipse plugins, it is recommended to uncomment
# these variables and even increase it, if you have enough RAM.
# Else you will get crashes related to OutOfMemory in PermGen exceptions.
#ECLIPSE_PERMSIZE=64m
#ECLIPSE_MAX_PERMSIZE=128m
1.1 dev-util/eclipse-sdk/files/3.5/eclipse-3.5
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eclipse-sdk/files/3.5/eclipse-3.5?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eclipse-sdk/files/3.5/eclipse-3.5?rev=1.1&content-type=text/plain
Index: eclipse-3.5
===================================================================
#! /bin/sh
#
# Tiny startup wrapper for Eclipse
#
# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
# Copyright (c) 2007-2008, Jean-Noël Rivasseau <elvanor@gentoo.org>
# Copyright (c) 2004-2008, Gentoo Foundation
#
# Licensed under the GNU General Public License, version 2
#
SLOT="3.5"
[ -f "/etc/eclipserc-${SLOT}" ] && source "/etc/eclipserc-${SLOT}"
[ -f "$HOME/gentoo/.eclipserc" ] && source "$HOME/gentoo/.eclipserc"
ECLIPSE_HOME=${ECLIPSE_HOME:="/usr/lib/eclipse-${SLOT}"}
ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse"
if [ ! -x "${ECLIPSE_BIN}" ] ; then
echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr
exit -1
fi
if [ $(id -u) -eq 0 ] ; then
echo "Do not run eclipse as root user! Exiting ..."
exit -1
fi
[[ "$(java-config -f)" =~ "gcj" ]] \
&& export JAVA_PKG_CLASSMAP="${ECLIPSE_HOME}/eclipse.gcjdb"
eval $(gjl --package "swt-${SLOT}" --get-args)
[ -n "${ECLIPSE_XMS}" ] && VM_ARGS="${VM_ARGS} -Xms${ECLIPSE_XMS}"
[ -n "${ECLIPSE_XMX}" ] && VM_ARGS="${VM_ARGS} -Xmx${ECLIPSE_XMX}"
[ -n "${ECLIPSE_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:PermSize=${ECLIPSE_PERMSIZE}"
[ -n "${ECLIPSE_MAX_PERMSIZE}" ] && VM_ARGS="${VM_ARGS} -XX:MaxPermSize=${ECLIPSE_MAX_PERMSIZE}"
# Fix for JRE 1.5.
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
# Fix for >=x11-libs/gtk+-2.18.1 (not needed for Eclipse 3.6+)
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257
export GDK_NATIVE_WINDOWS=true
exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-09 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 18:19 [gentoo-commits] gentoo-x86 commit in dev-util/eclipse-sdk/files/3.5: eclipserc-3.5 eclipse-3.5 Alistair Bush (ali_bush)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox