I am getting the following error while installing the checkstyle plugin for my eclipuse via the update manager
Cannot complete the install because one or
You can install Checkstyle plugin from the Marketplace.
Help > Eclipse Martketplace...
Type "checkstyle plug-in"
and hit Enter.
You can also type only checkstyle
and then select the plugin from the list.
Click on Install.
Window > Show View > Other...
Type checkstyle
> select the views (Ctrl + click) > OK
Right click on your project > Checkstyle > Check Code with Checkstyle
The output will be shown in the checkstyle views (2 tabs).
If you listed all the violations for a type (using the arrow / right click / double click), you can go back using the "Go back to the master view" arrow:
I think the caveat here is the plugin's homepage http://eclipse-cs.sourceforge.net/ gives http://sevntu-checkstyle.github.com/sevntu.checkstyle/update-site/ as the installation URL, but it does not work (Yes?). However on http://eclipse-cs.sourceforge.net/downloads.html a different installation URL http://eclipse-cs.sf.net/update/ is given, which turns out to work correctly.
I think Ashutosh' answer should have worked, alternatively another option is to download the zip archive from http://sourceforge.net/projects/eclipse-cs/files/Eclipse%20Checkstyle%20Plug-in/5.5.0/ and extract it to eclipse plugins folder.
When you attempt to install is Contact all update sites during install to find required software
checked ? If not, it should be :
Expected Result
When using the update site in OP's post, following is the expected result :
From this page :
Alternatively the Checkstyle Eclipse Plug-in can be downloaded from the Eclipse Checkstyle Plug-in's SourceForge download site. The download consists of a archived update site (file name net.sf.eclipsecs-x.x.x.buildstamp-updatesite.zip), containing all mandatory and optional parts of the plugin.
The plugin can be installed from the archived update site in the following ways:
1. Via Eclipse's P2 Installation Manager similar as described above, pointing to the archive file instead 2. Extracted into Eclipse's dropins folder.
So, the steps are as follows :
Download the file referred above from here
Add the downloaded file as an 'Archived Download site' like so :