Installing PMD 5.0.4 in Eclipse

纵然是瞬间 提交于 2019-12-17 20:36:52

问题


Can anybody tell me how to install PMD in Eclipse. I have downloaded PMD 5.0.4 from the following link:

http://sourceforge.net/projects/pmd/files/latest/download?source=files

When I add this archive file in Eclipse install option I am getting an error stating that "It could not find the file specified".


回答1:


Just follow the directions on http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ I copied the direction here for you so you don't even have to click !!

In Eclipse, click on Help -> Install New Software...

Click on Add.. Enter the following:

Name: PMD for Eclipse Update Site

URL: https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/

and click OK.

You should see PMD for Eclipse 4. Select the checkbox next to it and click Next >.

You'll need to accept the license and confirm you want to install a plugin that is not digitally signed. Go ahead and install it anyway.

Restart eclipse.




回答2:


You should not download anything. Instead, simply add following URL as new update site in Eclipse -> Help -> Install new sofware:

http://pmd.sourceforge.net/eclipse

Then select appropriate Eclipse PMD plugin and you are done.




回答3:


Please use eclipse update site http://www.acanda.ch/eclipse-pmd/release/latest




回答4:


Are you behind a firewall?

Check the connection settings in your eclipse.



来源:https://stackoverflow.com/questions/17672623/installing-pmd-5-0-4-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!