Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 18:36:47 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        freebsd-ports@varju.ca
Cc:        freebsd-java@freebsd.org
Subject:   eclipse 3.1M7 Welcome & Help Bug
Message-ID:  <200506041836.48389.vizion@vizion.occoxmail.com>

next in thread | raw e-mail | index | archive | help
This is a copy of my posting to the eclipse newcomer newsgroup in response to 
a helpful posting by  one of its members -- I will forwartd that to you in a 
moment. I hope you can help with this problem.
I am fast getting out of my depth here!!
------------------------------------------
COPY OF POSTING
------------------------------------------

Thank you for your helpful input. I am going to follow through your comments 
in the meantime here is some of the information you asked from me:

OS FreeBsd 5.3 SDK 1.5
Using freebsd port
java/eclipse-devel
based on: eclipse-sourceBuild-srcIncluded-3.1M7.zip
------
Here is the Makefile which produced a clean build from the FreeBSD ports 
(/usr/ports/java/eclipse-devel/):
ns1# cat Makefile
# New ports collection makefile for:    eclipse-devel
# Date created:                         April 9, 2005
# Whom:                                 various members of freebsd-java
#
# $FreeBSD: ports/java/eclipse-devel/Makefile,v 1.2 2005/05/29 03:41:41 nork 
Exp $
#

PORTNAME=       eclipse
PORTVERSION=    3.1M7
CATEGORIES=     java devel
MASTER_SITES=   ${MASTER_SITE_ECLIPSE}
MASTER_SITE_SUBDIR=     S-${PORTVERSION}-200505131415
DISTNAME=       ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION}
DIST_SUBDIR=    eclipse

MAINTAINER=     freebsd-ports@varju.ca
COMMENT=        An open extensible IDE for anything and nothing in particular

BUILD_DEPENDS=  ant:${PORTSDIR}/devel/apache-ant \
                zip:${PORTSDIR}/archivers/zip
BUILD_DEPENDS+= ${EXTRACT_DEPENDS}

CONFLICTS=      eclipse-3.0*
LATEST_LINK=    ${PORTNAME}-devel

ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE=      yes
USE_ZIP=        yes
USE_GCC=        3.4

USE_JAVA=       yes
JAVA_VERSION=   1.4+
JAVA_OS=        native

USE_REINPLACE=  yes
NO_WRKSUBDIR=   yes

PORTDESTDIR=    ${PREFIX}/eclipse

ECLIPSE_OS=     freebsd

if defined(WITH_MOTIF)
ECLIPSE_WS=     motif
USE_ICONV=      yes
USE_MOTIF=      yes
else
ECLIPSE_WS=     gtk
if defined(WITH_MOZILLA)
BROWSER=        ${WITH_MOZILLA}
BUILD_DEPENDS+= ${BROWSER}:${PORTSDIR}/www/${BROWSER}
else
BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla
BROWSER=        mozilla
endif
endif

if defined(WITHOUT_GNOMEVFS)
MAKE_GNOME=
USE_GNOME=      gtk20 pkgconfig
else
MAKE_GNOME=     make_gnome
USE_GNOME=      gtk20 gnomevfs2 libgnome libgnomeui pkgconfig
endif

include <bsd.port.pre.mk>

if defined(WITH_MOTIF)
BROKEN= No motif support yet
endif

if (${ARCH} == "amd64")
ECLIPSE_ARCH=   amd64
ECLIPSE_SWT=    gtk64
else
ECLIPSE_ARCH=   x86
ECLIPSE_SWT=    gtk
endif

if (${BROWSER} == "firefox")
BROKEN= Firefox integration doesn\'t work yet
endif

MAKE_ENV+=      BROWSER=${BROWSER} \
                ECLIPSE_ARCH=${ECLIPSE_ARCH} \
                ECLIPSE_OS=${ECLIPSE_OS} \
                ECLIPSE_WS=${ECLIPSE_WS} \
                JAVA_HOME=${JAVA_HOME} \
                MAKE_GNOME=${MAKE_GNOME} \
                MOTIF_HOME=${X11_HOME} \
                QT_HOME=${X11_HOME}

PLIST_FILES=    bin/eclipse

SWTGTK=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library
SWTMOTIF=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI/motif/library

# Manually patch some files with spaces in the path
post-patch:
        @${PATCH} ${PATCH_DIST_ARGS} "${SWTMOTIF}/build.sh" \
          ${FILESDIR}/manualpatch-plugins-swt-motif-build.sh
        @${PATCH} ${PATCH_DIST_ARGS} "${SWTMOTIF}/make_freebsd.mak" \
          ${FILESDIR}/manualpatch-plugins-swt-motif-make_freebsd.mak
        @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/make_freebsd.mak" \
          ${FILESDIR}/manualpatch-plugins-swt-gtk-make_freebsd.mak
        @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/build.sh" \
          ${FILESDIR}/manualpatch-plugins-swt-gtk-build.sh
        @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/os_custom.h" \
          ${FILESDIR}/manualpatch-plugins-swt-gtk-os_custom.h

do-build:
        @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \
          ./build -os ${ECLIPSE_OS} -ws ${ECLIPSE_WS} -arch ${ECLIPSE_ARCH} 
-compilelibs)

do-install:
        @${MKDIR} ${PORTDESTDIR}
        @${TAR} -xvzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX}
        @${SED} \
          -e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \
          -e "s+%%JAVA_HOME%%+${JAVA_HOME}+g" \
          -e "s+%%X11BASE%%+${X11BASE}+g" \
          -e "s+%%BROWSER%%+${BROWSER}+g" \
        ${FILESDIR}/eclipse.in > ${WRKSRC}/eclipse.tmp
        ${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/eclipse
        ${INSTALL_PROGRAM} ${WRKSRC}/launchertmp/eclipse 
${PREFIX}/eclipse/eclipse
        @(cd ${WRKSRC}/tmp; ${FIND} -s eclipse -not -type d | ${GREP} -v 
tmp.tar) >> ${TMPPLIST}
        @(cd ${WRKSRC}/tmp; ${FIND} -s -d eclipse -type d) \
          | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}

include <bsd.port.post.mk>
--------------------------------------
END OF MAKEFILE  ^
----------------------------------------------
This is the error and other information that may be relevant:
------------------------------------------------------------

Browser is used to deliver help service and has following message:
"The document that you have requested is not available. The link may be wrong, 
or you may not have the corresponding product feature installed."
For these identified links on the Eclipse Overview Page
Link: Team Support-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-26.htm
Link: Workbench Basics-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-2.htm
Link: Java Development-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2FgettingStarted%2Fqs-BasicTutorial.htm
Link: Plugin Development-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Fpde.htm
For this link on the Help menu:
Link: Help Contents - (no way to get any help/info documents)
http://127.0.0.1:58914/help/index.jsp

The eclipse process is running:
dns1# ps -aux | grep eclipse
Sysadmin 13692  0.0  0.4  9060 3844  ??  I     2:10PM   
0:00.03 /usr/local/eclipse/eclipse

Clearly eclipse has opened the port:
dns1# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  dns1.58830             pop.coxmail.com.pop3   TIME_WAIT
tcp4       0      0  dns1.51514             mail.ixpres.com.pop3   TIME_WAIT
tcp4       0      0  *.58914                *.*                    LISTEN
tcp46      0      0  *.http                 *.*                    LISTEN
tcp4       0      0  dns1.smtp              *.*                    LISTEN
udp4       0      0  *.*                    *.*
udp4       0      0  *.syslog               *.*
udp6       0      0  *.syslog               *
Within the eclipse file hierarchy an up to date locate database shows the 
following index.jsp files:
dns1# locate eclipse | grep index.jsp
/usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/advanced/index.jsp
/usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/basic/index.jsp
/usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/index.jsp
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/advanced/index.jsp
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/basic/index.jsp
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/index.jsp
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/advanced/index_jsp.java
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/basic/index_jsp.java
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/index_jsp.java
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.eclipse.help.webapp_3.1.0/advanced/index.jsp
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.eclipse.help.webapp_3.1.0/basic/index.jsp
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.eclipse.help.webapp_3.1.0/index.jsp

The following platform.doc.user files/directories are found within /usr/local
dns1# locate eclipse | grep platform.doc.user
/usr/home/Sysadmin/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/manifests/org.eclipse.platform.doc.user_3.1.0.MF
/usr/local/eclipse/configuration/org.eclipse.osgi/manifests/org.eclipse.platform.doc.user_3.1.0.MF
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/META-INF
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/META-INF/MANIFEST.MF
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/about.html
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/book.css
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_AntUI.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Compare.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_ExternalTools.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Search.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Team.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Team_CVS.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Update.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/contexts_Workbench.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/cpy.png
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/doc.zip
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/no_help_exists.htm
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/notices.html
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/plugin.properties
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/plugin.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/quickstart.htm
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/toc.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/topics_Concepts.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/topics_GettingStarted.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/topics_Reference.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/topics_Tasks.xml
/usr/local/eclipse/plugins/org.eclipse.platform.doc.user_3.1.0/workbench.png

There are the same number  of files/directories 
in  /usr/ports/java/eclipse-devel/work/plugins/ hierarchy that are identical 
to the file names listed above.

The only files found by
dns1# locate eclipse | grep help/
are in the /usr/ports/java/eclipse-devel/work/plugins/or.eclipse.help/ 
hierarchy

I am wondering whether help files were correctly processed/transfered  to the 
correct locations in the /usr/local/eclipse/plugins/ hierarchy - but  there 
are so many files in such a complex system that makes it difficult for a 
newcomer to eclipse to tell which files are meant to be where [and what 
directory/file transformations need to take place (if any)].

So I am hoping someone with a lot more experience than I can help resolve the 
problem. I really need eclipse to work for me.

Thanks again
David
-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.



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