Eclipse, User-Installed Plugins won't work

Ralf Folkerts ralf.folkerts at gmx.de
Wed Sep 15 17:54:07 UTC 2010


  Am 15.09.2010 12:28, schrieb Ronald Klop:
> On Wed, 15 Sep 2010 09:58:02 +0200, Ralf Folkerts 
> <ralf.folkerts at gmx.de> 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,

ok, I updated all Ports, pkg_deleted my Eclipse, removed the 
/usr/local/lib/eclipse Directory (which still existed due to the Plugins 
installed as "root"), re-built and installed java/eclipse, rm -rf'ed 
~/.eclipse, ~/workspace and /root/workspace.

Then started Eclipse -as User-, installed PyDev. Install went thru fine; 
the files being installed ended up in 
~/.eclipse/org.eclipse.platform_3.5.0_946975857/plugins/. However, upon 
restart I didn't see anything of PyDev.

Then started Eclipse as root and installed PyDev - install went thru 
like the "User" one - but upon restart I did see PyDev. Removed my 
~/.eclipse and ~/workspace, started Eclipse as User again - and saw PyDev.

The Configuration (Help/About Eclipse SDK/Installation 
Details/Configuration) listed these Features after Installation of PyDev 
as User:

*** Features:
org.eclipse.cvs (1.1.101.R35x_v20100125-7E79FGD9kKF67BPDZ7PKCE1911) 
"Eclipse CVS Client"
org.eclipse.help (1.1.2.R35x_v20100119-7e7eFAnFEx2X_fZltJhDjz-D) "Help 
System Base"
org.eclipse.jdt (3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6) 
"Eclipse Java Development Tools"
org.eclipse.pde (3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo) "PDE"
org.eclipse.platform 
(3.5.2.R35x_v20100210-0800-9wEnGFyFthz-4yg6B60OIpw65ABz09Ob_FT7JHF) 
"Eclipse Platform"
org.eclipse.rcp (3.5.2.R35x_v20100119-A-AsG3KFocc4Vz-97iWGrXXb27BA) 
"Eclipse RCP"
org.eclipse.sdk 
(3.5.2.R35x_v20100119-7Q7bARBPkUMMrOSko67clZ43WcZR-CertxP4fj-TDFGhS) 
"Eclipse Project SDK"

the
*** Plug-in Registry:
didn't contain anything PyDev-like.

after Installation of PyDev as root, however, it looked like

*** Features:
org.eclipse.cvs (1.1.101.R35x_v20100125-7E79FGD9kKF67BPDZ7PKCE1911) 
"Eclipse CVS Client"
org.eclipse.help (1.1.2.R35x_v20100119-7e7eFAnFEx2X_fZltJhDjz-D) "Help 
System Base"
org.eclipse.jdt (3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6) 
"Eclipse Java Development Tools"
org.eclipse.pde (3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo) "PDE"
org.eclipse.platform 
(3.5.2.R35x_v20100210-0800-9wEnGFyFthz-4yg6B60OIpw65ABz09Ob_FT7JHF) 
"Eclipse Platform"
org.eclipse.rcp (3.5.2.R35x_v20100119-A-AsG3KFocc4Vz-97iWGrXXb27BA) 
"Eclipse RCP"
org.eclipse.sdk 
(3.5.2.R35x_v20100119-7Q7bARBPkUMMrOSko67clZ43WcZR-CertxP4fj-TDFGhS) 
"Eclipse Project SDK"
org.python.pydev.feature (1.6.2.2010090812) "Pydev - Python Development 
Environment"

and
*** Plug-in Registry:
com.ibm.icu (4.0.1.v20090822) "International Components for Unicode for 
Java (ICU4J)" [Active]
com.jcraft.jsch (0.1.41.v200903070017) "JSch" [Resolved]
com.python.pydev (1.6.2.2010090812) "Pydev Extensions" [Starting]
com.python.pydev.analysis (1.6.2.2010090812) "Analysis Plug-in" [Starting]
com.python.pydev.codecompletion (1.6.2.2010090812) "Codecompletion 
Plug-in" [Starting]
com.python.pydev.debug (1.6.2.2010090812) "Extensions Debug Plug-in" 
[Starting]
com.python.pydev.fastparser (1.6.2.2010090812) "Fastparser Plug-in" 
[Starting]
com.python.pydev.refactoring (1.6.2.2010090812) "Refactoring Plug-in" 
[Starting]

did contain PyDev.

Then tried to install Log4E as User - however, again I didn't see it 
after the Restart.

To get my Eclipse into a "workable" state again I'll reinstall all 
plugins as root and launch eclipse as root regularly to get any Updates.

Does anyone have a hint?

MTIA, Cheers,
_ralf_




More information about the freebsd-java mailing list