How do I install the PMD plugin in MyEclipse without using a software update?

I think that due to network wrangling in my company, I am unable to install PMD with

Sotware Update-> Search and Install.

I have tried these sites

http://pmd.sourceforge.net/eclipse

http://pmd.sf.net/eclipse

but a network error "Unable to access" occurs

Is there a place where I can download the plugin as a zip file and then put it in the plugins folder? Will this work?

I downloaded pmd-eclipse-1.8.0.zip from a site (which I don't remember now) and the PMD option appears when right clicking on the project / files, but options like "Check Code with PMD", "Fix Violations PMD "'etc. are not displayed in the context menu.

thank

+3


source to share


2 answers


you can try the following (assuming you are allowed to connect to eg pendrive at work). Create a mirror of the update site with the following command (use command line):

(more information: http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring )



 ./eclipse -nosplash -verbose
  -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
  -source Insert Source URL (e.g. http://download.eclipse.org/eclipse/updates/3.4milestones/)
  -destination Insert Destination URL (e.g. file:/tmp/3.4milestonesMirror/)

      

This will create a local mirror. take this directory with its contents to work, use your local update site pointing to the directory you copied from your pendrive. If it has a dependency that is not listed on the PMD update site, but somewhere else, I think you will have to do the same with that dependency (create a mirror ...) and configure the location of the updates correctly in your Eclipse (remove remote update sites ...)

0


source


You can download the eclipse pmd files and follow the official instructions using your local repository. If your company is blocking sourceforge, you must first complain - this is the developer's site for viewing documents, etc. If you are allowed to send files by email or use a portable drive, you can transfer them.



They are most likely blocking eclipse updates, not sourceforge, though.

0


source







All Articles