Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing check style plugin for eclipse

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 more required items could not be found. Software being installed: EclipseCS SevNTU plugin feature 1.5.0 (com.github.sevntu.checkstyle.checks.feature.feature.group 1.5.0) Missing requirement: Sevntu eclipse-cs Extension Plugin 1.5.0 (com.github.sevntu.checkstyle.checks 1.5.0) requires 'bundle net.sf.eclipsecs.core 0.0.0' but it could not be found Cannot satisfy dependency: From: EclipseCS SevNTU plugin feature 1.5.0 (com.github.sevntu.checkstyle.checks.feature.feature.group 1.5.0) To: com.github.sevntu.checkstyle.checks [1.5.0]

I am using the below update site.

http://eclipse-cs.sf.net/update/

I have googled a lot on this but could not find a appropriate solution. Please help. Thanks in advance

like image 920
user1564922 Avatar asked Aug 08 '12 12:08

user1564922


2 Answers

When you attempt to install is Contact all update sites during install to find required software checked ? If not, it should be :

enter image description here

Expected Result

When using the update site in OP's post, following is the expected result : enter image description here

Offline Installation

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 :

  1. Download the file referred above from here

  2. Add the downloaded file as an 'Archived Download site' like so :

enter image description here

  1. After that you should get the following :

enter image description here

like image 199
Ashutosh Jindal Avatar answered Oct 15 '22 10:10

Ashutosh Jindal


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.

like image 27
shashi009 Avatar answered Oct 15 '22 11:10

shashi009