Unable to install PMD in Spring tool suite - pmd

I am unable to install PMD plug-in for STS (build on top of Luna).
Could someone please give the steps to do it?

Try this http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ and install for Eclipse 4.

I'm the developer of eclipse-pmd, one of the two PMD plugins you mentioned in your question. If your installing the plugin through the Eclipse Marketplace then you're doing everything right. Once the installation is finished the getting started guide will help you with setting up eclipse-pmd.
You are, however, not the first who has a problem getting eclipse-pmd 1.4 to work with the Spring Tool Suite. Unfortunately we have not yet found the cause of the problem and are still looking for a solution. If you'd like to help or would like to follow the issue's progress then head over to the eclipse-pmd issue tracker at Github.
Update: the issue has been fixed and it had nothing to do with STS.
If your problem is something different then I need more information on what exactly does not work, e.g. does the installation give you an error message or doesthe installation work and you get an error message when running PMD?

Please follow below steps to install PMD in STS.
Download PMD from https://sourceforge.net/projects/pmd-eclipse/files/ & Extract it.
Copy net.sourceforge.pmd.eclipse_1.8.0 folder into ..\sts-bundle\sts-3.9.6.RELEASE\plugins\
then Install eclipse PMD from Eclipse Market Place you will find in Help this option.
Restart your STS.

Related

Getting error while installing SonarQube plugin in eclipse 4.2.2

I am trying to install the sonar in my eclipse but it can not find the url even though the url is working fine in my browser. If any one knows the solution please let me know, thanks.
To install the plugin you can also go to Help > Eclipse Marketplace... and search for "SonarQube". Check this for more details.
Anyway, the Eclipse SonarQube plugin has been deprecated and SonarLint for Eclipse should be used in place : see http://www.sonarlint.org/eclipse/index.html

Can't Install Eclipse Juno CheckStyle Plugin

I heard that a good plugin for metrics for Java Eclipse was the CheckStyle plugin. So I try and follow their instructions on how to install it, but I keep getting the following:
Can someone kindly point out how I can fix this problem?
Thank You.
I think I fully know why it didn't work. There was an Eclipse Juno update that I had to run. For the update to happen, I had to run Eclipse as Administrator. Then ran the update, and it worked, i.e. it updated successfully.
I then ran the CheckStyle plug-in install as instructed on their website, and it worked fine.
Hope this helps.

Eclipse Marketplace not showing up (missing) on 3.7 Indigo

I installed the Eclipse Marketplace via http://download.eclipse.org/mpc/indigo/ and Help>Install New Software... and it's not showing up under the help menu as expected after a complete reboot and I can't seem to find anyone else who is having this problem?
What led me to installing the Eclipse Marketplace in the first place was my attempt to install Eclipse Color Themes (http://eclipse-color-theme.github.com/update/). Eclipse Color Themes did not appear where indicated in it's documentation either so I thought I would attempt installing through the marketplace but I think I may have a larger plug-in related issue however plug-ins like Aptana and other misc. custom plug-ins installed correctly.
I'm running Eclipse on Windows 7 64-bit if that's of any help as well.
I had same problem.
I add http://download.eclipse.org/releases/indigo repo and install MPC and Maven.
I tried #d_pilot's answer which didn't work but found the repo at http://download.eclipse.org/mpc/indigo/
You should be able to change the /mpc/(version)/ to get whatever you want from there, which is nice for all the other eclipse classic versions.
more current link: http://www.eclipse.org/mpc/archive.php
To add some Google search terms:
I had this issue when installing via Ubuntu apt-get package management and ransom bot's answer worked for me.

cannot install Google plugin in Eclipse

I want to install Google plugin, GAE and GWT on Eclipse i tried in different ways by trying to install all at once and only one at a time but i get this error
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Web Toolkit SDK 2.3.0 2.3.0.r36v201105191508 (com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group 2.3.0.r36v201105191508)
Missing requirement: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.3.2.r36v201106211634) requires 'org.eclipse.pde.core 0.0.0' but it could not be found
i could install Android without any trouble.
can anybody help me to solve this?
Thanks !!!
EDIT : i am using Eclipse 3.6 - Helios
I had this problem as well, and neither running as administrator nor changing the eclipse directory permissions fixed the issue for me.
Eventually, I discovered that the Eclipse download site (http://download.eclipse.org/releases/juno) was disabled in my "Available Software Sites" preferences. Enabling it solved the issue for me.
I got same problem and solved by launching Eclipse as administrator.
I post this for people who face this error in future.
Firstly I changed permissions on the directory where I put Eclipse as CobaltBlue suggest but it didn't work. Next I launched Eclipse as administrator and tried again, then installation is completed!
I'm not sure it is necessary to change the access permission of the directory of Eclipse.
I am using Eclipse Juno and OS is windows 7.
If you're running on Windows, check the permissions on the directory where Eclipse was installed. Test if this is the problem by adding the user "Everyone" and give them read/write/execute access to that directory. If it works, then that was the issue.
Also, if you are not running Eclipse as Administrator, you'll want to update the shortcut you use to launch Eclipse and select "Run as Administrator."
The part of the error message that says following looks kind of odd to me
requires 'org.eclipse.pde.core 0.0.0'
If 0.0.0 is the required version of org.eclipse.pde.core plugin then something must be wrong in the dependencies being detected by eclipse's dependency resolution system. 0.0.0 just doesn't seems to be a valid version.
What update site are you using? Is it the correct one for eclipse 3.6?

Can't install Eclipse plugin

I'm trying to install an Eclipse plugin for Mylyn/Fogbugz, and I get the following error when I try either EclipseBugz or Foglyn:
Cannot find a solution satisfying the following requirements Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.swt
I'm using Eclipse 3.4.1
what other update sites do you have enabled in your Eclipse installation?
I had similar problem when upgrading from older Mylyn, and found out that it helps to disable other updates sites. When installing new plugins, or even updating old ones, Eclipse has a tendency to contact all enabled update sites. I don't know what exactly it is trying to do, but it helped me to disable all sites except one I wanted to use.
Btw, Eclipse 3.5M6 has option to use only selected update site -- it is great help when updating/installing plugins. I cannot wait to see Eclipse 3.5 final released, just for this feature.
Eclipse plungins require Equinox UI for dependency.Please read Equinox installer .I hope can help you. : )