Eclipse 3.2 port (java/eclipse32)
David Sledge
dsledge at appriss.com
Fri Oct 13 11:37:57 PDT 2006
Palle Girgensohn wrote:
>
> --On tisdag, oktober 10, 2006 15.40.35 -0400 David Sledge
> <dsledge at appriss.com> wrote:
>
>>
>>
>> Palle Girgensohn wrote:
>>
>>
>>
>> --On måndag, oktober 09, 2006 18.57.18 -0400 David Sledge
>> <dsledge at 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 update
>> or use any specific freebsd ports.
>
> Hi!
>
> I get problem opening jsp pages. It complains about MOZILLA_FIVE_HOME
> not set. When I set it (to /usr/X11R6/lib/mozilla) it still fails.
> Anyone else with more luck than me?
>
> /Palle
>
Replace the patch file "files/eclipse.in" with the new one attached and
let me know if it fixes the problem.
-------------- next part --------------
#!/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" $@
More information about the freebsd-java
mailing list