Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 14:36:33 -0400
From:      David Sledge <dsledge@appriss.com>
To:        Palle Girgensohn <girgen@FreeBSD.org>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Eclipse 3.2 port (java/eclipse32)
Message-ID:  <452FDCB1.4020405@appriss.com>
In-Reply-To: <439BCBDEE3689EFBF8CEFE62@rambutan.pingpong.net>
References:  <768690DD58883C4FAA0C089A534F94DF2054DE@intexch02.int.appriss.com> <54A56D47DC749F45C4291FD0@rambutan.pingpong.net> <452286C2.3030902@appriss.com> <273C02EB81D51F8607AEB1A4@rambutan.pingpong.net> <452A6A16.5060706@appriss.com> <452AD3CE.1070008@appriss.com> <A9A13E3F9DF0EC94CAAB5BC3@rambutan.pingpong.net> <452BF733.7060705@appriss.com> <439BCBDEE3689EFBF8CEFE62@rambutan.pingpong.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010103010302060403020704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable



Palle Girgensohn wrote:
>
> --On tisdag, oktober 10, 2006 15.40.35 -0400 David Sledge=20
> <dsledge@appriss.com> wrote:
>
>>
>>
>> Palle Girgensohn wrote:
>>
>>
>>
>> --On m=E5ndag, oktober 09, 2006 18.57.18 -0400 David Sledge
>> <dsledge@appriss.com> wrote:
>>
>>
>> I just finished the 3.2.1 port for eclipse. I will make sure that at
>> least the plugins I use still work, if so I will upload it to a server=

>> tomorrow for anyone else who would like to test it.
>>
>>
>> Super!
>>
>> Which plugins do you use? Do you need help fixing the plugins?
>>
>> Regards,
>> Palle
>>
>>
>>
>> The new eclipse32.shar file is available at
>> http://www.freshdevonrails.com/eclipse32.shar. It has been updated for=

>> eclipse version 3.2.1. I am currently using the following plugins and
>> they work ok, EPIC, RDT, RADRAILS and Subclipse. I used the update
>> manager in eclipse to install these plugins so I did not have to updat=
e
>> or use any specific freebsd ports.
>
> Hi!
>
> I get problem opening jsp pages. It complains about MOZILLA_FIVE_HOME=20
> not set. When I set it (to /usr/X11R6/lib/mozilla) it still fails.=20
> Anyone else with more luck than me?
>
> /Palle
>
Replace the patch file "files/eclipse.in" with the new one attached and=20
let me know if it fixes the problem.

--------------010103010302060403020704
Content-Type: text/plain;
 name="eclipse.in"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="eclipse.in"

#!/bin/sh
#
# FreeBSD-specific startup script for Eclipse Platform
#
# See: http://www.eclipse.org
#
# $FreeBSD$
#

DEFAULT_JAVA_HOME=%%PREFIX%%
ECLIPSE_HOME=%%ECLIPSE_HOME%%
DEFAULT_JAVA_CMD=java
export MOZILLA_FIVE_HOME=%%X11BASE%%/lib/%%BROWSER%%

#-----------------------------------------------------------------------------
# Determine configuration settings
#-----------------------------------------------------------------------------

# Determine the JDK home directory
if [ -z "${JAVA_HOME}" ]; then
	JAVA_HOME=${DEFAULT_JAVA_HOME}
fi

# Determine 'java' executable
if [ -z "${JAVACMD}" ]; then
	if [ -n "${JAVA_HOME}"  ]; then
		JAVACMD="${JAVA_HOME}/bin/java"
	else
		JAVACMD=${DEFAULT_JAVACMD}
	fi
fi

# Check if 'java' executable can be found
if [ ! -x "$JAVACMD" ]; then
	echo "Error: JAVA_HOME is not defined correctly: ${JAVA_HOME}"
	echo "       Unable to find ${JAVACMD}"
	exit 1
fi

# Check if 'eclipse' executable can be found
if [ ! -x "${ECLIPSE_HOME}/eclipse" ]; then
	echo "Error: ECLIPSE_HOME is not defined correctly: ${ECLIPSE_HOME}"
	echo "       Unable to find eclipse launcher binary"
	exit 1
fi

JAVA_VERSION="%%JAVA_VERSION%%" JAVA_OS="%%JAVA_OS%%" PATH=${JAVA_HOME}/bin:${PATH} exec "${ECLIPSE_HOME}/eclipse" $@

--------------010103010302060403020704--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452FDCB1.4020405>