ports/84672: Fix for the internal browser in java/eclipse
"Panagiotis Astithas" <Panagiotis Astithas
past at ebs.gr
Mon Aug 8 16:00:36 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list