From owner-freebsd-java@FreeBSD.ORG Wed Sep 15 13:48:48 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2956A106566C for ; Wed, 15 Sep 2010 13:48:48 +0000 (UTC) (envelope-from ralf.folkerts@gmx.de) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 87BE58FC12 for ; Wed, 15 Sep 2010 13:48:46 +0000 (UTC) Received: (qmail invoked by alias); 15 Sep 2010 13:48:44 -0000 Received: from dslb-088-067-024-197.pools.arcor-ip.net (EHLO beaster.home.folkerts-net.de) [88.67.24.197] by mail.gmx.net (mp063) with SMTP; 15 Sep 2010 15:48:44 +0200 X-Authenticated: #18511927 X-Provags-ID: V01U2FsdGVkX18EV9ogy2IEEzyKrQadpImVZyEKZBHCFGWiEciiI+ qLZpJJM4hVMoR1 Message-ID: <4C90CEBB.1080400@gmx.de> Date: Wed, 15 Sep 2010 15:48:43 +0200 From: Ralf Folkerts User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.9) Gecko/20100908 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4C907C8A.9060807@gmx.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Eclipse, User-Installed Plugins won't work X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 13:48:48 -0000 (sorry - just recognized that I sent my reply only to Ronald, not to the List.) Am 15.09.2010 12:28, schrieb Ronald Klop: > On Wed, 15 Sep 2010 09:58:02 +0200, Ralf Folkerts > wrote: > >> Hi, >> >> yesterday I launched Eclipse - after ~3 weeks not using it and ~two >> "portmaster -a" runs during that period. However, there were none of >> my Plugins active. >> >> As I was unsure of the Status of my Install I removed my ~/.eclipse >> and ~/workspace (moved the Projects Files away before) and started >> "fresh"; entered the Update-Locations and installed the Plugins. The >> Install went fine. However, after a restart of Eclipse the installed >> Plugins were not "visible" i.e. there was no PyDev Perspective, my >> PyDev Item in Preferences, ... However, there also were no errors >> logged in the error log. >> >> I tried several times with several Plugins; log4e, pydev, mylyn, >> apache directory sudio, HgEclipse. Didn't get them to work and no >> error logged. I also deinstalled Eclipse and installed freshly, in >> between checking that /usr/local/lib/eclipse was really completely >> removed, >> >> Still no success. >> >> Now I just started eclipse with kdesu and installed pydev -- and I >> indeed got the PyDev Perspective, Pydev-Item in the Properties etc. >> >> Is there anything to consider when installing Updates as mere User? I >> also recognized that my "User" Update Location List was empty, while >> the "kdesu" List did contain the "usual" two Update Sites for Eclipse... >> >> Would be cool to get this cleared; I'd prefer to install (and Update) >> Plugins as "normal" User over running Eclipse as root to perform >> these tasks. >> >> MTIA& Cheers, >> _ralf_ >> > > Hi, > > I've had the same problem. The good part is that the problem went > away, but the sad part is, that I don't know what solved it. Can you > update all your ports and than reinstall eclipse? > The fun thing is, that I didn't have the problem with the > eclipse-devel port, but only the eclipse port, while those ports where > practicly identical at some point in time a couple of weeks ago. > > What version of the port is installed exactly? I have these: > $ ls -d /var/db/pkg/eclipse-* > eclipse-3.5.2_1 eclipse-devel-3.5.2_3 > > Ronald. Hi Ronald, thanks for the quick reply! Well, at least I'm not the only one who stepped into that Problem ;-) I just updated (csup and "portmaster -a") my Ports a few days ago (to get the latest kdepim). I'm just now running a csup and will run a portupgrade -a this evening. I also ran a portmaster --check-depends and pkg_libchk (and tried with JDK 1.6.0, OpenJDK 6, and OpenJDK 7). However, as there is no error in Eclipse's Error-Log it seems more like a config-Problem than a missing dependency to me (i.e. it seems as if Eclipse will install Plugins in ~/.eclipse when it cannot write to /usr/local/lib/eclipse/plugins but only looks for them in /usr/local... and not in ~/.eclipse. My Eclipse-Version is the same as yours; $ls -ld /var/db/pkg/*eclipse* drwxr-xr-x 2 root wheel 512 15 Sep 09:16 /var/db/pkg/eclipse-3.5.2_1 $ It's rather strange that the problem disappeared on your installation; I'll try the Update this evening and will try to investigate a bit deeper later... Thanks again! Cheers, _ralf_