Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency "Generic and Extensible Text Editor" version too high? #4

Open
ddekany opened this issue Mar 18, 2018 · 5 comments
Open

Comments

@ddekany
Copy link
Contributor

ddekany commented Mar 18, 2018

It's maybe just a cosmetical issue, but apparently you are working with a higher version of said bundle that what's possible on Photon M6. So the user gets a warning when installing the plugin, and then he uses the plugin with not the exact same dependency version as you do.

Cannot perform operation. Computing alternate solutions, may take a while: x/15

and then

Your original request has been modified.
  "Generic and Extensible Text Editor" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Generic and Extensible Text Editor 1.1.0.v20180316-0841 (org.eclipse.ui.genericeditor 1.1.0.v20180316-0841)
  Software currently installed: Eclipse IDE for Java EE Developers 4.8.0.20180315-1215 (epp.package.jee 4.8.0.20180315-1215)
  Only one of the following can be installed at once: 
    Generic and Extensible Text Editor 1.1.0.v20171212-0901 (org.eclipse.ui.genericeditor 1.1.0.v20171212-0901)
    Generic and Extensible Text Editor 1.1.0.v20180228-1652 (org.eclipse.ui.genericeditor 1.1.0.v20180228-1652)
    Generic and Extensible Text Editor 1.1.0.v20180316-0841 (org.eclipse.ui.genericeditor 1.1.0.v20180316-0841)
    Generic and Extensible Text Editor 1.1.0.v20171204-0941 (org.eclipse.ui.genericeditor 1.1.0.v20171204-0941)
  Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers 4.8.0.20180315-1215 (epp.package.jee 4.8.0.20180315-1215)
    To: org.eclipse.equinox.p2.iu; org.eclipse.platform.feature.group [4.8.0.v20180308-0630,4.8.0.v20180308-0630]
  Cannot satisfy dependency:
    From: Eclipse Platform 4.8.0.v20180308-0630 (org.eclipse.platform.feature.group 4.8.0.v20180308-0630)
    To: org.eclipse.equinox.p2.iu; org.eclipse.ui.genericeditor [1.1.0.v20180228-1652,1.1.0.v20180228-1652]
@ddekany ddekany changed the title Dependency "Generic and Extensible Text Editor" version to high? Dependency "Generic and Extensible Text Editor" version too high? Mar 18, 2018
@angelozerr
Copy link
Owner

angelozerr commented Mar 18, 2018

I think we could remove generic editor dependency to install since it exists since oxygen.

@ddekany
Copy link
Contributor Author

ddekany commented Mar 18, 2018

I guess so, as far as it's still declared as a required dependency... but I really don't know Eclipse platform best practices.

@angelozerr
Copy link
Owner

I guess so, as far as it's still declared as a required dependency... but I really don't know Eclipse platform best practices.

Indeed it's required because it's the genereic editor which opens the ftl editor (there is no specific FreemarkerEditor).

I mean that Oxygen and Photon provides this GenerecEditor, so we don't need to provide it in the installation as Dependency.

@ddekany
Copy link
Contributor Author

ddekany commented Mar 19, 2018

I know it's required, what I said is just that maybe you can just declare that the bundle it's required, and not include the jar in the plugin... Well, we are saying the same, I guess.

@angelozerr
Copy link
Owner

Well, we are saying the same, I guess.

yes I think:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants