ljader / redmine-mylyn-plugin

Eclipse Mylyn integration for Redmine ( Eclipse Connector Plugin )
71 stars 48 forks source link

Install fails in Eclipse, missing dependency? #40

Closed catmanjan closed 8 years ago

catmanjan commented 10 years ago

Fresh copy of Eclipse (install via inbuilt software manager) on a fresh copy of Fedora 20.

Using the ZIP link from the README.

Cannot complete the install because one or more required items could not be found. Software being installed: Mylyn Connector: Redmine 0.4.0.201402161233 (net.sf.redmine_mylyn.feature.feature.group 0.4.0.201402161233) Missing requirement: Logback Native SLF4J Logger Module 0.9.27.v20110224-1110 (ch.qos.logback.slf4j 0.9.27.v20110224-1110) requires 'bundle org.slf4j.api [1.6.1,1.7.0)' but it could not be found Cannot satisfy dependency: From: Mylyn Connector: Redmine 0.4.0.201402161233 (net.sf.redmine_mylyn.feature.feature.group 0.4.0.201402161233) To: ch.qos.logback.slf4j [0.9.27.v20110224-1110]

catmanjan commented 10 years ago

Attempted to install slf4j plugin manually, but it didn't help, here are the steps I took:

  1. Eclipse -> Help -> Install New Software
  2. Add a new software site:
  3. Expand "Maven osgi-bundles" and select "slf4j-api"
  4. Click "Next" and follow the installation.
georgesakhnovsky commented 10 years ago

I'm running into the same issue. Did you get it resolved?

georgesakhnovsky commented 10 years ago

Update: I resolved this by following Alfonso's advice from https://github.com/ljader/redmine-mylyn-plugin/issues/28 and getting org.slf4j.api_1.6.4.v20120130-2120.jar from http://www.filewatcher.com/m/org.slf4j.api_1.6.4.v20120130-2120.jar.33866-0.html

Some of the download links don't work, but ftp://ftp.wcss.pl/eclipse/recommenders/updates/stable/e42/plugins/org.slf4j.api_1.6.4.v20120130-2120.jar worked for me.

After getting the plugin, copy it to your eclipse plugins dir and restart eclipse.

MCMicS commented 10 years ago

the zip was build for Eclipse indigo. If you build the plugin for kepler (-P platform-kepler) then the dependency works.

The zip should be build for both eclipse versions

rgunn commented 10 years ago

can you add eclipse luna support as well please ? I've tried to clone and build in luna but there appear to be version issues with maven-tycho

awilkins commented 10 years ago

Have added a luna profile to the build (-P platform-luna )

rgunn commented 10 years ago

Thanks for your efforts Adrian ..re Luna support I managed to update the dependencies and get it working but will revert to yours from now on. It's a great plugin.

athspk commented 9 years ago

Auto installation just failed with Eclipse Luna 4.4.1

Cannot complete the install because one or more required items could not be found.
  Software being installed: Mylyn Connector: Redmine 0.4.0.201409181113 (net.sf.redmine_mylyn.feature.feature.group 0.4.0.201409181113)
  Missing requirement: Logback Native SLF4J Logger Module 0.9.27.v20110224-1110 (ch.qos.logback.slf4j 0.9.27.v20110224-1110) requires 'bundle org.slf4j.api [1.6.1,1.7.0)' but it could not be found
  Cannot satisfy dependency:
    From: Mylyn Connector: Redmine 0.4.0.201409181113 (net.sf.redmine_mylyn.feature.feature.group 0.4.0.201409181113)
    To: ch.qos.logback.slf4j [0.9.27.v20110224-1110]

UPDATE: I fixed this by following alfonsomunozpomer's solution (https://github.com/ljader/redmine-mylyn-plugin/issues/28), with the difference that i did not get the jar from the link he gave, but from an old Eclipse installation.
So now my eclipseLuna/plugins folder contains: org.slf4j.api_1.7.2.v20121108-1250.jar (from my fresh Luna installation) org.slf4j.api_1.6.4.v20120130-2120.jar (from an old eclipse installation)

athspk commented 9 years ago

I came across with another issue but i think this one is redmine-side.

hanmomhanda commented 9 years ago

I solved this installation problem by adding Repository http://redmin-mylyncon.sourceforge.net/update-site/N/ in the eclipse 'Install New Software...'

hanmomhanda commented 9 years ago

The link above will install version 0.3.7. I could install 0.4.0 using 'Check for Updates' in the eclipse menu.

dannychase2004 commented 9 years ago

The above worked for me, but it took me several hours of searching with trial and error, and tried several different packages.. Is it really this complicated or am I approaching these issues incorrectly? Why wouldn't the sourceforge project page just point to this link explicitly? See past my rant, anyone know an answer to my question?

ljader commented 9 years ago

This issue probably occurs, because dependencies are somehow fixed on old versions, and in Luna and Mars repositories those old artifacts are now gone.

I need to find some time to fix those dependencies, so the install would work out of the box - sorry for the delays.

dannychase2004 commented 9 years ago

Thanks for the response!

ljader commented 8 years ago

I'm closing this issue, because:

Please check that out!