eclipse插件安装与使用

1. Subversion

1)Download the Subclipse Plug-in: http://subclipse.tigris.org/files/documents/906/49028/site-1.6.18.zip

2)Open the zip file, copy all files under “features” to ${your eclipse folder}/features/

3)Copy all files under “plugins” to ${your eclipse folder}/plugins/

4)Restart

2. Maven
下载maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.zip
添加环境变量:MAVEN_HOME,并将bin加入path


在${MAVEN_HOME}/conf/settings.xml中可添加代理。
Preferance->maven->installation取消内嵌maven,添加${MAVEN_HOME}
Preferance->maven->User Settings里面替换成${MAVEN_HOME}或在C:\Users\username\.m2仓库目录中复制一份${MAVEN_HOME}/conf/settings.xml。


安装Eclipse的Maven插件M2Eclipse:
M2Eclipse插件网址:http://m2eclipse.sonatype.org/installing-m2eclipse.html

通过Eclipse在线更新网址:m2eclipse Core Update Site:
http://m2eclipse.sonatype.org/sites/m2e

(注意:直接安装会报错,原因是缺失zest插件

先安装zest插件再安装m2eclipse即可,同时好像也要装上gef。
zest插件地址 http://download.eclipse.org/tools/gef/updates/interim/


m2eclipse若找不到,直接从help->eclipse marketplace查找安装。

3.jad反编译工具:

1.将jad.exe放到硬盘上某个位置,例:C:\Program Files\Java\jre6\bin
2.将jadclipse插件jar包放到eclipse目录plugin文件夹
3.打开eclipse,Windows->preferences->java->jadclipse里面Path to Decompiler里面填写jad.exe放置目录:C:\Program Files\Java\jre6\bin\jad.exe
Directoty for temporaryfiles可以默认(临时文件夹路径)
这样可以默认用jad反编译工具打开.class文件了。如果不起作用,可以设置Windows——> Perference—>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”,设置完成后双击.class文件,eclipse自动反编译。

4.EclEmma安装:
4.1方法1:Help -> Install New Software -> enter http://update.eclemma.org/ at the Work with field -> installation -> restart
4.2方法2:Download newest released EclEmma Java Code Coverage plugin jar via the URL: http://www.eclemma.org/download.html -> eclipse menu - help -> Install New Software -> in dialog(add-archive-..jar)->restart
4.3:方法3:Help -> Eclipse Marketplace ->Search ‘Code Coverage’, then search -> install
Check whether it's available -> right click project -> Coverage as:Junit test.

猜你喜欢

转载自bingqianer.iteye.com/blog/2098292