现在的位置: 首页 > 综合 > 正文

Eclipse 常用 插件安装

2018年05月09日 ⁄ 综合 ⁄ 共 3528字 ⁄ 字号 评论关闭

用惯了myeclipse,最近换成myeclipse 2013 professional ,鸟枪换炮,07年的低端笔记本吃不消啊...于是乎换了eclipse javaee版本,自己安装各种插件:

1.OpenExplorer,直接进入资源目录

下载地址:https://github.com/samsonw/OpenExplorer/downloads

安装方法:关闭eclipse,将OpenExplorer_1.5.0.v201108051513.jar放入plugin文件,重启即可。

2.eclipse的tomcat发布目录设置:还要修改发布目录


3.Myeclipse的项目导入eclipse:

1.复制以下内容加入原myeclipse的.project

        找到<natures>...</natures>代码段,加入: 

          <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
        <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
        <nature>org.eclipse.jdt.core.javanature</nature>
        <nature>org.eclipse.wst.jsdt.core.jsNature</nature>

2.讲其他Dynamtic web project的.setting文件覆盖替换myeclipse的.setting文件

3.选择项目->点击project->properties->Project Facets->选中Java和Dynamic Web Module->OK

在tomcat上单机右键,add and remove


4解决eclipse中文字体小的问题

下载好后把 YaHei.Consolas.1.12.ttfw 文件复制到 C:\Windows\Fonts 目录下,这样字体就安装完成,

然后打开 eclipse 的 “preferences” , “General” -> “Appearance” -> “Colors and Fonts” ,打开 “basic” ,双击 “Text Font” ,然后选择字体:”YaHei Consolas Hybrid”(也可能是微软雅黑) ,确定即可。

YaHei.Consolas.1.12.ttfw 

5.安装Spring IDE

1.打开eclipse ide,help->install new software..
2.安装SpringIDE:      http://springide.org/updatesite

先装这三个:

Core/Spring IDE
Extensions/SpringIDE
Resources/SpringIDE

3.安装adjt:     http://download.eclipse.org/tools/ajdt/42/update      起初安装不对,是ajdt的版本不对,版本号是数字如我的Eclipse是4.2,对应的就是42

4.安装完adjt就可以安装其他Spring IDE插件了

调用SpringIDE: 

   (1)调出spring explorer出来: eclipse---- Window----show View ----other(输入spring explorer)---         OK 

   (2)选中项目-----右击-----Spring Tools----add spring project nature
   (3)第2步操作以后,查看spring explorer会出现项目此时:
     eclipse ----Spring explorer----右击项目---Properties----spring----Bean support--Config Files---add ---把bean.xml的文件都选上----点击ok
   (4)可选:Spring ---Dependency Manager 可以把automatically update dependences from Maven pom.xml选择上。
   (5)spring explorer-----找到你想要看的bean.xml----右击---Open Dependency Graph即可看到依赖的关系。


6.安装MyBatis Generator

简介:http://code.google.com/p/mybatis/wiki/Generator

eclipse安装地址:http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/UpdateSite/

安装同上,help>install software

Mybatis Generator的使用自己google

7.安装Extjs插件Spket

Myeclipse  安装 Spket :

下载网址:http://www.spket.com/

下载eclipse插件,目录结构如下:

features  plugins

1.将features,plugins分别复制到myeclipse安装目录\Genuitec\Common\plugins\目录下和\Genuitec\Common\features\下,

2.在myeclipse安装目录下dropins/创建eclipse文件夹,然后在eclipse文件夹中分别创建features、plugins文件夹,将其内容拷贝过去。

3.http://www.spket.com/官网下载jsb2文件保存至extjs的根目录,安装jsb2

4.安装jsb2,参考http://www.spket.com/extjs.html,在此不翻译。

5.安装之后重启eclipse,新建js文件,alt+/ 试验一下,ok,你成功了!

安装之后,myeclipse中spket不提示,不知为何,摆弄了半天还是不行,将extjs4.2的jar包重新解压了一遍,把fbs2文件从官网又重新下载了一次,直接放在根目录,重新配置jsb2文件,reload javascrpit profile,点,提示..........服了

8.myeclipse项目重命名之后,tomcat部署还是原来的名字。

1.要更改web context-root

2.Myeclipse目录下根目录文件需要修改。



9.javaEE 6和JUnit的奇葩:

采用的JavaEE6 api.jar的包,junti测试报错:

java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

google后发现是javaee6api.jar和junit的冲突,太奇葩了把,换成javaee5,解决问题

10.安装Propertits插件

安装地址:http://propedit.sourceforge.jp/eclipse/updates/

安装之后关联:preference>generator>editor>assocation 关联

11.安装eclipse反编译插件

首先下载jad.exe和net.sf.jadclipse_3.3.0.jar

jad.exe下载地址:http://ishare.iask.sina.com.cn/f/15267016.html?from=like

net.sf.jadclipse_3.3.0.jar下载地址:http://sourceforge.net/projects/jadclipse/?source=dlp

下载好文件后:

首先把net.sf.jadclipse_3.3.0.jar的jar拷贝到Eclipse文件中的plugins文件中

重新启动Eclipse 在windows-->preferences-->java中就能看到JadClipse了

点击JadClipse配置Path to decompiler指定到jad.exe存放的路径


若看在java下看不到JadClipse的话,请将Eclipse-->configuration下对应的org.eclipse.update文件夹删除

 

再重新打开Eclipse,剩下的就跟上面的操作步骤一样了。

抱歉!评论已关闭.