免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2552 | 回复: 0
打印 上一主题 下一主题

Eclipse 3.5 on Ubuntu [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-10 17:04 |只看该作者 |倒序浏览
http://thelocococo.wordpress.com/2009/08/31/eclipse-3-5-galileo-on-ubuntu-9-04/

















  









  Options
  Disable


  
   
   
   
  


Get Free Shots


  


[/url]

[url=http://thelocococo.wordpress.com/2009/08/31/eclipse-3-5-galileo-on-ubuntu-9-04/#]

  

  





   










       
The Loco Coco's Blog
        Some things I don't want to google everytime
       
                               
         
               
                       
                       
               
       
               
                       
Eclipse 3.5 Galileo on Ubuntu 9.04
       
                       
                               
I
recently had some issues getting Eclipse to work properly on Jaunty,
especially with plugins (m2e) not showing up in the preferences after
installation. So I’m now doing it all over again…
Installation & First Setup
First of all download the Eclipse 3.5 JEE Distro and unpack it (in my case to /opt/eclipse3.5 with a symlink from /opt/eclipse).
~$ wget http://eclipsemirror.yoxos.com/eclipse.org/technology/epp\
/downloads/release/galileo/R/eclipse-jee-galileo-linux-gtk.tar.gz
~$ sudo mv ~/eclipse-jee-galileo-linux-gtk.tar.gz /opt
~$ cd /opt
/opt$ sudo tar -zxf /opt/eclipse-jee-galileo-linux-gtk.tar.gz
/opt$ sudo mv /opt/eclipse /opt/eclipse3.5
/opt$ sudo ln -s /opt/eclipse3.5 /opt/eclipse
/opt$ sudo chown -R root:root /opt/eclipse3.5/
/opt$ sudo chmod -R +r /opt/eclipse3.5/
Make sure that ~/bin is included in your path and put the following
into ~/bin/eclipse (adapt the values for memory to your needs) as
eclipse.ini seems to be ignored in Ubuntu:
#!/bin/bash
export ECLIPSE_HOME="/opt/eclipse"
`$ECLIPSE_HOME/eclipse -showlocation -vmargs -Xms126M -Xmx512M -XX:PermSize=128M\
-XX:MaxPermSize=512M &> /dev/null` &
Make sure, that the right executable is being used.
~$ which eclipse
/home//bin/eclipse
Plugin setup
On my last try to get things right, Eclipse ended up creating a folder ~/.eclipse/
with another folder in it that contained the folders /plugins,
/dropins, /configuration etc. Everything that makes up the original
Eclipse folder is there as well.
So when I started to download and install further plugins like the already mentioned
m2e
,
Eclipse would download the plugins to this Eclipse folder in my
home-directory and they would not be listed in the Eclipse-Preferences.
But, oddly enough, the m2e plugin would be listed in Help > About Eclipse > Installation Details > Installed Software.
Now, lets have another look. First we install the plugin from the
m2e update-site
. I got an error here saying something about missing dependencies for the POM Editor plugins (org.eclipse.zest_layout) and resolved by manually adding the
GEF update-site
to Eclipse.
It seems, that only after I added the Eclipse update-site, closed and
restarted the Update Manager, Eclipse would add all the official
update-sites to its list and resolve dependencies on them. I decided to
resolve this later.
So after installing the m2e plugin, I double checked the
configuration. It appears in Installed Software AND the Plug-In list,
which it didn’t the first time. So far so good. Now for this previous
error. As the Update Manager seems to have found more update-sites now,
the dependencies for the POM Editor get resolved automatically. But,
what is that??? After installing the Editor, the m2e plugins are gone
from the Plug-In list (Help > About Eclipse > Installation Details > Plugin-ins. Where did they go?!? Even after uninstalling the editor plugins, nothing came up in the plugin list.
Does anyone have a hint?
       
                                       
                               
                                       
                                                This entry was posted on August 31, 2009 at 13:49 and is filed under
eclipse
,  
ubuntu
with tags
eclipse
,
ubuntu
.                                                You can follow any responses to this entry through the
RSS 2.0
feed
                                                                                                        You can
leave a response
, or
trackback
from your own site.                                               
                                                                                               
                                       
                               
       
                       
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7869/showart_2049787.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP