2015-07-01 102 views
0

我試圖在Windows上安裝Eclipse Luna中的sonarqube插件。這是我做的:無法安裝sonarqube plugins for eclipse

  • 選擇Help/Install new software...
  • 選擇http://downloads.sonarsource.com/eclipse/eclipse/
  • 選擇SonarQube JavaSonarQube ortional connectorsSonarQube Python項目並按下Next
  • 一些翻騰,我得到一個Install Remediation Page後,表示thePython分析儀將不會被安裝。如果我選擇Show original error and build my own solution我看到下面的詳細信息:

    Cannot complete the install because one or more required items could not be found. 
    Software being installed: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE) 
    Missing requirement: SonarQube Integration for PyDev 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev 3.4.0.20140404-0949-RELEASE) requires 'bundle org.python.pydev 0.0.0' but it could not be found 
    Cannot satisfy dependency: 
    From: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE) 
    To: org.sonar.ide.eclipse.pydev [3.4.0.20140404-0949-RELEASE] 
    
  • 我回去keep my installation the same and modify the items being installed to be compatible,想至少也得安裝了Java的部分,按Next,然後Finish

  • 我得到一個Problem occurred對話,並具有以下細節:

    An error occurred while collecting items to be installed 
        session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 
        No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.jdt.feature,3.4.0.20140404-0949-RELEASE 
        No repository found containing: osgi.bundle,org.sonar.ide.eclipse.m2e,3.4.0.20140404-0949-RELEASE 
        No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.m2e.feature,3.4.0.20140404-0949-RELEASE 
    

我在做什麼錯?

回答

0

錯誤消息的下面部分往往告訴你沒有在Eclipse安裝Python支持:

requires 'bundle org.python.pydev 0.0.0' 

,如果你想爲Python SonarQube分析安裝支持,這是必需的。

+0

我更關心java部分失敗,有什麼見解嗎? –

+0

不是真的,這應該工作正常(我實際上安裝插件不久前在筆記本電腦上,所以這是正常工作)。也許你應該從乾淨安裝的Luna開始。 –