Ericsson / CodeCheckerEclipsePlugin

This is an Eclipse plugin that shows C/C++ static analysis results found by Clang Static Analyzer and Clang Tidy
Eclipse Public License 1.0
32 stars 13 forks source link

Installation failure #157

Open deyspandan opened 5 years ago

deyspandan commented 5 years ago

While installing in eclipse (Eclipse Neon.1a) from "Help>Install New Software.." I get the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: CodeChecker Eclipse Plugin Core 1.0.0.201905170824 (org.codechecker.eclipse.feature.feature.group 1.0.0.201905170824)
  Missing requirement: org.codechecker.eclipse 0.0.6.201905170824 (org.codechecker.eclipse.plugin 0.0.6.201905170824) requires 'bundle org.eclipse.jdt.annotation 2.1.100' but it could not be found
  Cannot satisfy dependency:
    From: CodeChecker Eclipse Plugin Core 1.0.0.201905170824 (org.codechecker.eclipse.feature.feature.group 1.0.0.201905170824)
    To: org.codechecker.eclipse.plugin [0.0.6.201905170824]

The tests while installing seem to be ok

Launching application org.eclipse.ui.ide.workbench...
Running org.codechecker.eclipse.plugin.PluginTest
Welcome Screen wasn't present.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.102 s - in org.codechecker.eclipse.plugin.PluginTest
testAddNatureDisappears(org.codechecker.eclipse.plugin.PluginTest)  Time elapsed: 6.429 s

Results:

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] All tests passed!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] org.codechecker.eclipse.root ....................... SUCCESS [  2.154 s]
[INFO] org.codechecker.eclipse.bundles .................... SUCCESS [  0.427 s]
[INFO] org.codechecker.eclipse.plugin ..................... SUCCESS [  5.011 s]
[INFO] org.codechecker.eclipse.features ................... SUCCESS [  0.416 s]
[INFO] org.codechecker.eclipse.feature .................... SUCCESS [  0.519 s]
[INFO] org.codechecker.eclipse.releng ..................... SUCCESS [  0.329 s]
[INFO] org.codechecker.eclipse.update ..................... SUCCESS [  2.004 s]
[INFO] org.codechecker.eclipse.target ..................... SUCCESS [  0.291 s]
[INFO] org.codechecker.eclipse.tests ...................... SUCCESS [  0.312 s]
[INFO] org.codechecker.eclipse.rcp.unit.tests ............. SUCCESS [  4.301 s]
[INFO] org.codechecker.eclipse.rcp.it.tests ............... SUCCESS [ 24.013 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:21 min
[INFO] Finished at: 2019-05-17T11:22:48+02:00
[INFO] Final Memory: 66M/762M
[INFO] ------------------------------------------------------------------------

Any idea what I am doing wrong??

gyorb commented 5 years ago

Do you try it on the master branch?

There were a lot of packaging and plugin build changes since that Oxygen 1 is the minimal required eclipse to build and run the plugin.

deyspandan commented 5 years ago

Yes it is on masters.

Do you know how to install bundle org.eclipse.jdt.annotation 2.1.100 externally? Maybe that can fix this

gyorb commented 5 years ago

Did you try to install it on a newer eclipse at least Oxygen 1?