Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse Bug - welcome & help
Eclipse Bug - welcome & help [message #73343] Fri, 03 June 2005 18:59 Go to next message
Eclipse UserFriend
I cannot get either the help system or the Overview page to function on
eclipse 3.1. The OS is FreeBSD 5.3 the SDK is 1.5.

On launching help I get (for example):
http://127.0.0.1:55806/help/index.jsp
in the browser with the following Error Report:
"
The document that you have requested is not available. The link may be
wrong, or you may not have the corresponding product feature installed.
"
in the browser window which seems to indicate that eclipse is responding
to the request on port 55806.
The http source file is pretty bars it just has the above text within
HTML: Tags and no indicate of its relative path or debug info.


I check the ports wth netstat which shows:
dns1# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 dns1.63388 pop.coxmail.com.pop3
TIME_WAIT
tcp4 0 0 dns1.49643 mail.ixpres.com.pop3
TIME_WAIT
tcp4 0 0 *.55806 *.* LISTEN
tcp46 0 0 *.http *.* LISTEN
tcp4 0 0 dns1.smtp *.* LISTEN
udp4 0 0 *.* *.*
udp4 0 0 *.syslog *.*
udp6 0 0 *.syslog *.*
which also supports the contention that port 55806 is functioning fine.

I have two users on this machine (user dev group wheel and user Sysadmin
group wheel. Eclipse is owned by root group wheel.

For HTML files:
I notice that some example files appear in the user directory e.g:
/usr/home/dev/workspace/org.eclipse.swt.examples.paint/doc-h tml/hglegal.htm
features are in /usr/local/ e.g
/usr/local/eclipse/features/org.eclipse.emf.doc_2.0.1/cpl-v1 0.html
plugins are in /usr/local/ e.g.
/usr/local/eclipse/plugins/org.apache.ant_1.6.2/LICENSE.dom. html
a single readme file is in /usr/local/
/usr/local/eclipse/readme/readme_eclipse.html
doc files are in /usr/local/share/ e.g
/usr/local/share/doc/docbook-xsl/html/eclipse.autolabel.html

However in the ports tree we have (maximum 1 example of each group except
for files including name help)):
e.g.
/usr/ports/java/eclipse-devel/work/features/org.eclipse.jdt/ epl-v10.html
/usr/ports/java/eclipse-devel/work/instructions.html
/usr/ports/java/eclipse-devel/work/jdtcoresrc/src/org/eclips e/jdt/core/compiler/package.html
/usr/ports/java/eclipse-devel/work/launchertmp/about.html
/usr/ports/java/eclipse-devel/work/plugins/org.apache.ant/LI CENSE.dom.html

This group of files including "help"
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ about.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ src/org/eclipse/help/package.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/about.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/src/org/eclipse/help/internal/appserver/package.ht ml
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/about.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/doc/help_home.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/eclipse/help/browser/package.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/eclipse/help/standalone/package.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/about.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/src/org/eclipse/help/ui/browser/package.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/about.html
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/advanced/banner.html

What I am wondering is if the compiler did not extract the help files (
and possible other html files (and other files) into the correct directory.

Is anyone able to tell me:
How the help files are meant to be organized?
What files are meant to appear?
What permission should be given to the files?

I could then shift any missing files manually into the correct directories.

Any help would be much appreciated

Thanks
Re: Eclipse Bug - welcome & help [message #73466 is a reply to message #73343] Fri, 03 June 2005 19:27 Go to previous messageGo to next message
Eclipse UserFriend
Your port does not seem very orthodox to me as far help is concerned.
Have you tried running a vanilla Linux SDK (from eclipse.org) on FreeBSD
instead?

And you CANNOT bookmark help web pages as the port may change and you NEED
Eclipse running and the help activated for the built in web server to run.

"exquisitus" <vizion@vizion.occoxmail.com> wrote in message
news:51f3fa774e70716307c4bc6b8f56aa6f$1@www.eclipse.org...
> I cannot get either the help system or the Overview page to function on
> eclipse 3.1. The OS is FreeBSD 5.3 the SDK is 1.5.
>
> On launching help I get (for example):
> http://127.0.0.1:55806/help/index.jsp
> in the browser with the following Error Report:
> "
> The document that you have requested is not available. The link may be
> wrong, or you may not have the corresponding product feature installed.
> "
> in the browser window which seems to indicate that eclipse is responding
> to the request on port 55806.
> The http source file is pretty bars it just has the above text within
> HTML: Tags and no indicate of its relative path or debug info.
>
>
> I check the ports wth netstat which shows:
> dns1# netstat -a
> Active Internet connections (including servers)
> Proto Recv-Q Send-Q Local Address Foreign Address (state)
> tcp4 0 0 dns1.63388 pop.coxmail.com.pop3
> TIME_WAIT
> tcp4 0 0 dns1.49643 mail.ixpres.com.pop3
> TIME_WAIT
> tcp4 0 0 *.55806 *.* LISTEN
> tcp46 0 0 *.http *.* LISTEN
> tcp4 0 0 dns1.smtp *.* LISTEN
> udp4 0 0 *.* *.*
> udp4 0 0 *.syslog *.*
> udp6 0 0 *.syslog *.*
> which also supports the contention that port 55806 is functioning fine.
>
> I have two users on this machine (user dev group wheel and user Sysadmin
> group wheel. Eclipse is owned by root group wheel.
>
> For HTML files:
> I notice that some example files appear in the user directory e.g:
>
/usr/home/dev/workspace/org.eclipse.swt.examples.paint/doc-h tml/hglegal.htm
> features are in /usr/local/ e.g
> /usr/local/eclipse/features/org.eclipse.emf.doc_2.0.1/cpl-v1 0.html
> plugins are in /usr/local/ e.g.
> /usr/local/eclipse/plugins/org.apache.ant_1.6.2/LICENSE.dom. html
> a single readme file is in /usr/local/
> /usr/local/eclipse/readme/readme_eclipse.html
> doc files are in /usr/local/share/ e.g
> /usr/local/share/doc/docbook-xsl/html/eclipse.autolabel.html
>
> However in the ports tree we have (maximum 1 example of each group except
> for files including name help)):
> e.g.
> /usr/ports/java/eclipse-devel/work/features/org.eclipse.jdt/ epl-v10.html
> /usr/ports/java/eclipse-devel/work/instructions.html
>
/usr/ports/java/eclipse-devel/work/jdtcoresrc/src/org/eclips e/jdt/core/compi
ler/package.html
> /usr/ports/java/eclipse-devel/work/launchertmp/about.html
> /usr/ports/java/eclipse-devel/work/plugins/org.apache.ant/LI CENSE.dom.html
>
> This group of files including "help"
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ about.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ src/org/eclipse/
help/package.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/about.
html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/src/or
g/eclipse/help/internal/appserver/package.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/about.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/doc/help_ho
me.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ecl
ipse/help/browser/package.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ecl
ipse/help/standalone/package.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/about.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/src/org/eclip
se/help/ui/browser/package.html
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/about.htm
l
>
/usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/advanced/
banner.html
>
> What I am wondering is if the compiler did not extract the help files (
> and possible other html files (and other files) into the correct
directory.
>
> Is anyone able to tell me:
> How the help files are meant to be organized?
> What files are meant to appear?
> What permission should be given to the files?
>
> I could then shift any missing files manually into the correct
directories.
>
> Any help would be much appreciated
>
> Thanks
>
>
>
>
>
>
>
Re: Eclipse Bug - welcome & help [message #73520 is a reply to message #73466] Fri, 03 June 2005 21:16 Go to previous messageGo to next message
Eclipse UserFriend
I am wondering if I did not explain my question carefully enough or
whether you misread it.

I just simply needed to know the file hierarchy of standard installation
so I can check if I have all the files I need and whether they are in the
correct order. What I said was it looks as though the freebsd port
(installation management system) failed to put all the files in the
correct place. Unfortunately the correct place on FreeBsd is different to
linux.

As far as the dynamically allocated port works fine - that is a separate
issue which I believe, has no connection to why eclipse is not working on
freebsd atm.

If someone could take the troubkle to let me have the file hierarchy
information I can get my system workin and then contact the FreeBSD port
maintainer to debug the installation make file.

david
Re: Eclipse Bug - welcome & help [message #73662 is a reply to message #73520] Sat, 04 June 2005 15:43 Go to previous messageGo to next message
Eclipse UserFriend
"exquisitus" <vizion@vizion.occoxmail.com> wrote in message
news:4df68034e1def10accd3f30b71a6133e$1@www.eclipse.org...
> I am wondering if I did not explain my question carefully enough or
> whether you misread it.

Dear exquisitus,
Your question was quite well explained indeed. :-)
And my answer while terse was an indication that you should look at a
vanilla eclipse to get the fine standard layout of directories and help file
;-)

I believe that if you are using the devel port, it does a sourcebuild of
3.1M7 from:
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/S-3.1M7-200505131415/eclipse-sourceBuild-src Included-3.1M7.zip
But the file output you list do not tell me much about which version of
eclipse you run, as you are just listing the source tree, but it does not
look like a 3.1 but more a 3.x version to me.
Try to get the latest port!

>Is anyone able to tell me:
>How the help files are meant to be organized?
>What files are meant to appear?
>What permission should be given to the files?
>I could then shift any missing files manually into the correct directories.

>What I am wondering is if the compiler did not extract the help files (
>and possible other html files (and other files) into the correct directory.
>How the help files are meant to be organized?
>What files are meant to appear?

It is hard to figure out based on you info.
Once again check the linux binary distrubition mentioned above.
That should answer your question
The standard layout of eclipse directories and help files can be found in
that binary drop:
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/S-3.1M7-200505131415/eclipse-SDK-3.1M7-linux -gtk.tar.gz


>What permission should be given to the files?
read only is fine.

> I just simply needed to know the file hierarchy of standard installation
> so I can check if I have all the files I need and whether they are in the
> correct order. What I said was it looks as though the FreeBSD port
> (installation management system) failed to put all the files in the
> correct place. Unfortunately the correct place on FreeBSD is different to
> Linux.
The problem is not Linux or FreeBSD, but where eclipse expects its help
files to be.

> As far as the dynamically allocated port works fine - that is a separate
> issue which I believe, has no connection to why eclipse is not working on
> FreeBSD atm.
Yes but note that unless you install what is called an infocenter (a
standalone help server, not requiring eclipse to be running) like at
help.eclipse.org, you will need eclipse up and running and help activated
for eclipse to listen to that port.


Note also the following comments:
>For HTML files:
>I notice that some example files appear in the user directory e.g:
> /usr/home/dev/workspace/org.eclipse.swt.examples.paint/doc-h tml/hglegal.htm
This is your workspace, and has nothing to do with the Eclipse install per
se.
This is a copyright notice for examples.

>features are in /usr/local/ e.g
> /usr/local/eclipse/features/org.eclipse.emf.doc_2.0.1/cpl-v1 0.html
This is not a help file, but a standard license notice and should stay with
the feature

>plugins are in /usr/local/ e.g.
> /usr/local/eclipse/plugins/org.apache.ant_1.6.2/LICENSE.dom. html
This is not a help file, but a standard license notice and should stay with
the plugin
Note that I am just confused about which version of Eclipse you use.
ant 1.6.3 is the one that comes with 3.1M7 which is the current devel port.


>a single readme file is in /usr/local/
>/usr/local/eclipse/readme/readme_eclipse.html
This is not a help file, this are release notes and should stay there

>doc files are in /usr/local/share/ e.g
> /usr/local/share/doc/docbook-xsl/html/eclipse.autolabel.html
This is not an Eclipse provided file, but a docbook help file.

>However in the ports tree we have (maximum 1 example of each group except
>for files including name help)):
>e.g.
> /usr/ports/java/eclipse-devel/work/features/org.eclipse.jdt/ epl-v10.html
This is not a help file, but a standard license notice and should stay with
the feature

>/usr/ports/java/eclipse-devel/work/instructions.html
??This is not an eclipse provided help file, but a bsd port provided file.

> /usr/ports/java/eclipse-devel/work/jdtcoresrc/src/org/eclips e/jdt/core/comp
iler/package.html
This is not a help file, but a standard javadoc package description used
when generating javadocs.
Should stay where it is

>/usr/ports/java/eclipse-devel/work/launchertmp/about.html
This is not a help file, but a standard license notice and should stay there

> /usr/ports/java/eclipse-devel/work/plugins/org.apache.ant/LI CENSE.dom.html

This is not a help file, but a standard license notice and should stay there

>This group of files including "help"
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ about.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/about
..html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/about.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/about.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/about.ht
ml
Notices again, not help files.

> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/src/o
rg/eclipse/help/internal/appserver/package.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ src/org/eclipse
/help/package.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ec
lipse/help/browser/package.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ec
lipse/help/standalone/package.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/src/org/ecli
pse/help/ui/browser/package.html
Java package desc for javadoc generation, not help files per se.

> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/doc/help_h
ome.html
> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/advanced
/banner.html
Two base help files from the help plugin.



> If someone could take the troubkle to let me have the file hierarchy
> information I can get my system workin and then contact the FreeBSD port
> maintainer to debug the installation make file.
Once agina check the linux binaries:-)
Re: Eclipse Bug - welcome & help [message #73680 is a reply to message #73662] Sat, 04 June 2005 21:32 Go to previous messageGo to next message
Eclipse UserFriend
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.p latform.doc.user%2Fconcepts%2Fconcepts-26.htm
Link: Workbench Basics-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.p latform.doc.user%2Fconcepts%2Fconcepts-2.htm
Link: Java Development-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.j dt.doc.user%2FgettingStarted%2Fqs-BasicTutorial.htm
Link: Plugin Development-
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.p de.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/adv anced/index.jsp
/usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/bas ic/index.jsp
/usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/ind ex.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.e clipse.help.webapp_3.1.0/advanced/index.jsp
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.e clipse.help.webapp_3.1.0/basic/index.jsp
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.e clipse.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/confi guration/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
Re: Eclipse Bug - welcome & help [message #73718 is a reply to message #73680] Sat, 04 June 2005 22:07 Go to previous messageGo to next message
Eclipse UserFriend
exquisitus wrote:

> 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.p latform.doc.user%2Fconcepts%2Fconcepts-26.htm
> Link: Workbench Basics-
>
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.p latform.doc.user%2Fconcepts%2Fconcepts-2.htm
> Link: Java Development-
>
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.j dt.doc.user%2FgettingStarted%2Fqs-BasicTutorial.htm
> Link: Plugin Development-
>
http://127.0.0.1:58914/help/index.jsp?topic=%2Forg.eclipse.p de.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/adv anced/index.jsp
> /usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/bas ic/index.jsp
> /usr/local/eclipse/plugins/org.eclipse.help.webapp_3.1.0/ind ex.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.e clipse.help.webapp_3.1.0/advanced/index.jsp
>
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.e clipse.help.webapp_3.1.0/basic/index.jsp
>
/usr/ports/java/eclipse-devel/work/tmp/eclipse/plugins/org.e clipse.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/confi guration/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
I have also sent a copy of this posting and your earlier helpful comments
to the freebsd maintainer freebsd-ports@varju.ca and the
freebsd-java@freebsd.org mailing list. This bug will need to be fixed for
everyone eho uses the freebsd ports tree some I am hoping some mutual
collaboration amongst all you guys who know what you are doing might
finish up resolving the problem for people like me who do not <grinz>
Thanks again -
PS If you see anything that might provide a clue I can forward it to the
freebsd maintainer
David
Re: Eclipse Bug - welcome & help [message #73754 is a reply to message #73662] Sat, 04 June 2005 22:31 Go to previous messageGo to next message
Eclipse UserFriend
Philippe Ombredanne wrote:

> "exquisitus" <vizion@vizion.occoxmail.com> wrote in message
> news:4df68034e1def10accd3f30b71a6133e$1@www.eclipse.org...
>> I am wondering if I did not explain my question carefully enough or
>> whether you misread it.

> Dear exquisitus,
> Your question was quite well explained indeed. :-)
> And my answer while terse was an indication that you should look at a
> vanilla eclipse to get the fine standard layout of directories and help file
> ;-)

> I believe that if you are using the devel port, it does a sourcebuild of
> 3.1M7 from:
>
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/S-3.1M7-200505131415/eclipse-sourceBuild-src Included-3.1M7.zip
> But the file output you list do not tell me much about which version of
> eclipse you run, as you are just listing the source tree, but it does not
> look like a 3.1 but more a 3.x version to me.
> Try to get the latest port!

I do not understand you here -- the ports tree gets its build from the
source 3.1M7 and builds from there - I did a rebuild today from the latest
freebsd port

>>Is anyone able to tell me:
>>How the help files are meant to be organized?
>>What files are meant to appear?
>>What permission should be given to the files?
>>I could then shift any missing files manually into the correct directories.

>>What I am wondering is if the compiler did not extract the help files (
>>and possible other html files (and other files) into the correct directory.
>>How the help files are meant to be organized?
>>What files are meant to appear?

> It is hard to figure out based on you info.
> Once again check the linux binary distrubition mentioned above.
> That should answer your question
> The standard layout of eclipse directories and help files can be found in
> that binary drop:
>
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/S-3.1M7-200505131415/eclipse-SDK-3.1M7-linux -gtk.tar.gz
OK I understand what you are saying - I will get that drop

>>What permission should be given to the files?
> read only is fine.
cool

>> I just simply needed to know the file hierarchy of standard installation
>> so I can check if I have all the files I need and whether they are in the
>> correct order. What I said was it looks as though the FreeBSD port
>> (installation management system) failed to put all the files in the
>> correct place. Unfortunately the correct place on FreeBSD is different to
>> Linux.
> The problem is not Linux or FreeBSD, but where eclipse expects its help
> files to be.
Yep I agree that seems to be the problem
in what directory should they be and how can I identify them?

>> As far as the dynamically allocated port works fine - that is a separate
>> issue which I believe, has no connection to why eclipse is not working on
>> FreeBSD atm.
> Yes but note that unless you install what is called an infocenter (a
> standalone help server, not requiring eclipse to be running) like at
> help.eclipse.org, you will need eclipse up and running and help activated

WHAT do you mean by "help activated" ??? as I have no help I do not know
how to activate it!!!

> for eclipse to listen to that port.
As you saw from my posting today eclipse is running and opening the port -
so if reinforces the noition there is something wrong with either missimng
help files or incorrect locations


> Note also the following comments:
>>For HTML files:
>>I notice that some example files appear in the user directory e.g:
>> /usr/home/dev/workspace/org.eclipse.swt.examples.paint/doc-h tml/hglegal.htm
> This is your workspace, and has nothing to do with the Eclipse install per
> se.
> This is a copyright notice for examples.
Ok
>>features are in /usr/local/ e.g
>> /usr/local/eclipse/features/org.eclipse.emf.doc_2.0.1/cpl-v1 0.html
> This is not a help file, but a standard license notice and should stay with
> the feature
OK

>>plugins are in /usr/local/ e.g.
>> /usr/local/eclipse/plugins/org.apache.ant_1.6.2/LICENSE.dom. html
> This is not a help file, but a standard license notice and should stay with
> the plugin
> Note that I am just confused about which version of Eclipse you use.
> ant 1.6.3 is the one that comes with 3.1M7 which is the current devel port.

So that will be what is running because it was built from 3.1M7
>>a single readme file is in /usr/local/
>>/usr/local/eclipse/readme/readme_eclipse.html
> This is not a help file, this are release notes and should stay there
OK
>>doc files are in /usr/local/share/ e.g
>> /usr/local/share/doc/docbook-xsl/html/eclipse.autolabel.html
> This is not an Eclipse provided file, but a docbook help file.

>>However in the ports tree we have (maximum 1 example of each group except
>>for files including name help)):
>>e.g.
>> /usr/ports/java/eclipse-devel/work/features/org.eclipse.jdt/ epl-v10.html
> This is not a help file, but a standard license notice and should stay with
> the feature
OK
>>/usr/ports/java/eclipse-devel/work/instructions.html
> ??This is not an eclipse provided help file, but a bsd port provided file.
OK
>> /usr/ports/java/eclipse-devel/work/jdtcoresrc/src/org/eclips e/jdt/core/comp
> iler/package.html
> This is not a help file, but a standard javadoc package description used
> when generating javadocs.
> Should stay where it is
OK
>>/usr/ports/java/eclipse-devel/work/launchertmp/about.html
> This is not a help file, but a standard license notice and should stay there
OK
>> /usr/ports/java/eclipse-devel/work/plugins/org.apache.ant/LI CENSE.dom.html

> This is not a help file, but a standard license notice and should stay there
OK
>>This group of files including "help"
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ about.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/about
> ..html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/about.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/about.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/about.ht
> ml
> Notices again, not help files.
OK
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. appserver/src/o
> rg/eclipse/help/internal/appserver/package.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help/ src/org/eclipse
> /help/package.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ec
> lipse/help/browser/package.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/src/org/ec
> lipse/help/standalone/package.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. ui/src/org/ecli
> pse/help/ui/browser/package.html
> Java package desc for javadoc generation, not help files per se.

>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. base/doc/help_h
> ome.html
>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.help. webapp/advanced
> /banner.html
> Two base help files from the help plugin.
OK


>> If someone could take the troubkle to let me have the file hierarchy
>> information I can get my system workin and then contact the FreeBSD port
>> maintainer to debug the installation make file.
> Once agina check the linux binaries:-)

OK
I have brought the maintainer into the loop
Re: Eclipse Bug - welcome & help [message #73772 is a reply to message #73754] Sat, 04 June 2005 23:13 Go to previous messageGo to next message
Eclipse UserFriend
I have received the contribution below from the freebsd maintainer. Is
there any chanvce that you two guys could get together. It looks as though
he feels there are some significant problems with the help system. Perhaps
you guys could work together on this if you feel so inclined.

David
------------------------------------------------------------ --

Re: Bug eclipse ---help requested
From: Alex Varju <alex@varju.ca>
To: freebsd-java@freebsd.org

It looks like you are using the eclipse 3.1M7 milestone. There are
problems with the help system in the current patchset, which I haven't
had any time to track down yet.

3.1RC1 is out now, so I'm looking into updating the eclipse-devel port
to match this. If I have some time, I'll try to get help working, but
I'm not optimistic.

Last time I looked at the help, non-Windows support was pretty flaky.
They appeared to be making some calls that assumed a specific Mozilla
API, which no longer worked well with newer versions of Mozilla. I'm
not sure if the current state of affairs has changed, or if I even fully
understood why things were failing.

Alex.
Re: Eclipse Bug - welcome & help [message #73844 is a reply to message #73772] Sun, 05 June 2005 03:26 Go to previous messageGo to next message
Eclipse UserFriend
exquisitus wrote:


> I have received the contribution below from the freebsd maintainer. Is
> there any chanvce that you two guys could get together. It looks as though
> he feels there are some significant problems with the help system. Perhaps
> you guys could work together on this if you feel so inclined.

> David
> ------------------------------------------------------------ --

> Re: Bug eclipse ---help requested
> From: Alex Varju <alex@varju.ca>
> To: freebsd-java@freebsd.org

> It looks like you are using the eclipse 3.1M7 milestone. There are
> problems with the help system in the current patchset, which I haven't
> had any time to track down yet.

> 3.1RC1 is out now, so I'm looking into updating the eclipse-devel port
> to match this. If I have some time, I'll try to get help working, but
> I'm not optimistic.

> Last time I looked at the help, non-Windows support was pretty flaky.
> They appeared to be making some calls that assumed a specific Mozilla
> API, which no longer worked well with newer versions of Mozilla. I'm
> not sure if the current state of affairs has changed, or if I even fully
> understood why things were failing.

> Alex.
-------------------------------------------------------

Re: Bug eclipse ---help requested
From: Alex Varju <alex@varju.ca>
To: freebsd-java@freebsd.org
CC: Vizion <vizion@vizion.occoxmail.com>

I've prepared an initial port of 3.1RC1, if you are interested. I
haven't downloaded the Linux package yet to compare file locations, but
at first glance the help contents appear to display correctly after
configuring an external browser.

The port files are here:

http://www.varju.ca/alex/freebsd/eclipse-devel-3.1RC1-1.tgz

I'll probably submit a PR for this in the next day or two.

Alex.
---------------------------------------------

On Saturday 04 June 2005 23:27, the author Vizion contributed to the
dialogue
on-
Re: Bug eclipse ---help requested:

>On Saturday 04 June 2005 21:10, the author Vizion contributed to the
> dialogue on-
> Re: Bug eclipse ---help requested:
>
>The news is not good -- still got exactly the same problem. I tried it with
>both mozilla and mozilla firefox but no good.
------ADD something interest-- changed the browser to
/usr/X11R6/bin/mozilla
and I got the welcome page working BUT still no help
------------------------------------------------------------ -

>
> I noticed that when the application first booted the load sequence seemed
> to show help files being loaded -- but when you try and access the help or
> the 4 main links on the welcome page I have the same results.
>
>I get the impression that the path to the help files is getting screwed up.
>However I have no evidence to justify that. Are there any configuration
> files that can tell me where eclipse thinks it should be getting its help
> files from?
>Thanks again
>David

----------------------
The browser was launched and returns the usual error report:

"The document that you have requested is not available. The link may be
wrong,
or you may not have the corresponding product feature installed."

However I get this error message from the eclipse platform error log:
-------------------------
Warning 2005-06-04 23:18:20.422 Internal browser is not operational
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path
(MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:2966)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:130)
at
org.eclipse.ui.internal.browser.WebBrowserUtil.canUseInterna lWebBrowser(WebBrowserUtil.java:136)
at
org.eclipse.ui.internal.browser.DefaultBrowserSupport.isInte rnalWebBrowserAvailable(DefaultBrowserSupport.java:165)
at
org.eclipse.ui.internal.browser.WorkbenchBrowserSupport.isIn ternalWebBrowserAvailable(WorkbenchBrowserSupport.java:112)
at
org.eclipse.help.ui.internal.browser.BrowsersPreferencePage. createDynamicHelpArea(BrowsersPreferencePage.java:194)
at
org.eclipse.help.ui.internal.browser.BrowsersPreferencePage. createContents(BrowsersPreferencePage.java:141)
at
org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:232)
at
org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1376)
at
org.eclipse.jface.preference.PreferenceDialog$12.run(Prefere nceDialog.java:1139)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1038)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(Prefe renceDialog.java:1133)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:351)
at
org.eclipse.jface.preference.PreferenceDialog$8.selectionCha nged(PreferenceDialog.java:639)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:763)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1038)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:761)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1042)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1062)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2802)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2533)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1016)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2825)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2530)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1694)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1658)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:366)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:375)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
-----------------------------
Hope this helps

I also have the following indexing error message:
Error 2005-06-04 23:58:20.921 Errors while indexing
org.eclipse.help.internal.search.IndexingOperation$IndexingE xception
at
org.eclipse.help.internal.search.IndexingOperation.mergeInde xes(IndexingOperation.java:484)
at
org.eclipse.help.internal.search.IndexingOperation.addNewDoc uments(IndexingOperation.java:148)
at
org.eclipse.help.internal.search.IndexingOperation.execute(I ndexingOperation.java:98)
at
org.eclipse.help.internal.search.SearchManager.updateIndex(S earchManager.java:204)
at
org.eclipse.help.internal.search.SearchManager.ensureIndexUp dated(SearchManager.java:167)
at
org.eclipse.help.internal.search.federated.IndexerJob.run(In dexerJob.java:27)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
--------------------------------------------
And this:

Error 2005-06-04 23:58:20.907 Exception occurred in search indexing at
beginAddBatch.
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.jav a:307)
at org.apache.lucene.store.Lock.obtain(Lock.java:53)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:223)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:193)
at
org.eclipse.help.internal.search.SearchIndex.beginAddBatch(S earchIndex.java:244)
at
org.eclipse.help.internal.search.IndexingOperation.mergeInde xes(IndexingOperation.java:483)
at
org.eclipse.help.internal.search.IndexingOperation.addNewDoc uments(IndexingOperation.java:148)
at
org.eclipse.help.internal.search.IndexingOperation.execute(I ndexingOperation.java:98)
at
org.eclipse.help.internal.search.SearchManager.updateIndex(S earchManager.java:204)
at
org.eclipse.help.internal.search.SearchManager.ensureIndexUp dated(SearchManager.java:167)
at
org.eclipse.help.internal.search.federated.IndexerJob.run(In dexerJob.java:27)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
--------------------------

I hope this provides some pointers
Re: Eclipse Bug - welcome & help [message #73880 is a reply to message #73844] Sun, 05 June 2005 03:33 Go to previous messageGo to next message
Eclipse UserFriend
Another error message:

Error 2005-06-05 00:25:41.855 Exception occurred performing search for:
"Error Log view" OR "Resource perspective".
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.jav a:307)
at org.apache.lucene.store.Lock.obtain(Lock.java:53)
at org.apache.lucene.store.Lock$With.run(Lock.java:108)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:11 1)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:95 )
at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)
at
org.eclipse.help.internal.search.SearchIndex.openSearcher(Se archIndex.java:755)
at
org.eclipse.help.internal.search.SearchIndex.search(SearchIn dex.java:606)
at
org.eclipse.help.internal.search.SearchManager.search(Search Manager.java:101)
at
org.eclipse.help.ui.internal.views.DynamicHelpPart.performSe arch(DynamicHelpPart.java:264)
at
org.eclipse.help.ui.internal.views.DynamicHelpPart.access$5( DynamicHelpPart.java:258)
at
org.eclipse.help.ui.internal.views.DynamicHelpPart$3.run(Dyn amicHelpPart.java:247)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Re: Eclipse Bug - welcome & help [message #73898 is a reply to message #73880] Sun, 05 June 2005 03:56 Go to previous message
Eclipse UserFriend
Hi

One question
There is a file .xxxx e.g .eclipseproduct in some directories.
If eclipse is being run by a user then .xxx files would not be readable if
the system is set for secure operation. Could this have anything to do
with the problem?
david
Previous Topic:Eclipse won't run
Next Topic:debugging rt.jar
Goto Forum:
  


Current Time: Fri Jul 18 17:19:24 EDT 2025

Powered by FUDForum. Page generated in 0.09246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top