Date: Mon, 8 Aug 2005 18:57:52 +0300 From: "\"Panagiotis Astithas\" <Panagiotis Astithas" <past@ebs.gr> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: nork@FreeBSD.org Subject: ports/84672: Fix for the internal browser in java/eclipse Message-ID: <1123516672.0@edgar.gr> Resent-Message-ID: <200508081600.j78G0ZhN047780@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84672 >Category: ports >Synopsis: Fix for the internal browser in java/eclipse >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 08 16:00:35 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Panagiotis Astithas >Release: FreeBSD 5.4-STABLE i386 >Organization: EBS Ltd. >Environment: System: FreeBSD 5.4-STABLE #0: Sat Jul 9 20:02:08 EEST 2005 root@edgar.gr:/usr/obj/usr/src/sys/EDGAR >Description: The eclipse 3.1 port has a small bug that causes the internal browser to fail. The location of the embeddable mozilla browser does not pass from the startup script, to the eclipse executable. Spotted by: Georg-W. Koltermann >How-To-Repeat: - Start eclipse (/usr/local/bin/eclipse). Open Window -> Preferences and find the browser category. See that the internal browser option is greyed. - Open the Javadoc view in the Java perspective. Open a simple java program with a String variable and select the String type. Notice the Javadoc information for String in the Javadoc view is displayed in raw text and not formatted HTML. - Open the log from Help -> About -> Configuration -> Log. Notice error message like the following: !ENTRY org.eclipse.ui.browser 2 0 2005-07-30 18:54:56.256 !MESSAGE Internal browser is not available: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] >Fix: --- eclipse-browser.patch begins here --- diff -ruN /usr/ports/java/eclipse/files/eclipse.in eclipse/files/eclipse.in --- /usr/ports/java/eclipse/files/eclipse.in Sun Jul 31 08:26:15 2005 +++ eclipse/files/eclipse.in Mon Aug 8 16:47:43 2005 @@ -10,8 +10,8 @@ DEFAULT_JAVA_HOME=%%JAVA_HOME%% ECLIPSE_HOME=%%ECLIPSE_HOME%% DEFAULT_JAVA_CMD=java -MOZILLA_FIVE_HOME=%%X11BASE%%/lib/%%BROWSER%% -LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH +export MOZILLA_FIVE_HOME=%%X11BASE%%/lib/%%BROWSER%% +export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH #----------------------------------------------------------------------------- --- eclipse-browser.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1123516672.0>