You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
Trying to compile this under Luna, I get 3 errors:
Description Resource Path Location Type
Name clash: The method getAdapter(Object, Class<T>) of type RuntimePlugin.ResourceToSourceEntityAdapter has the same erasure as getAdapter(Object, Class) of type IAdapterFactory but does not override it RuntimePlugin.java /impulse/src/io/usethesource/impulse/runtime line 44 Java Problem
The method getAdapter(Object, Class<T>) of type RuntimePlugin.ResourceToSourceEntityAdapter must override or implement a supertype method RuntimePlugin.java /impulse/src/io/usethesource/impulse/runtime line 44 Java Problem
The type RuntimePlugin.ResourceToSourceEntityAdapter must implement the inherited abstract method IAdapterFactory.getAdapter(Object, Class) RuntimePlugin.java /impulse/src/io/usethesource/impulse/runtime line 39 Java Problem
The text was updated successfully, but these errors were encountered:
Yes, Mars is not backward compatible with Luna unfortunately. This change was accidental, but when compiling for Mars you can't know that it won't work on Luna. Do you see an opportunity for Frege to also move on to Mars, or is this a show stopper?
No, the point is I want to go to Mars while supporting Kepler and Luna also.
But it looks like I am not able to do this.
I have changed the getAdapter method back manually for this time, and it works fine on Kepler and Luna.
But on Mars, I still get the setDefaultEditor error, as before!
Is there no way to do this without using internal APIs? Reflection, maybe?
For otherwise, I need to go to MARS.1 for plugin development?
This would be ok for a while, but I really hope this is it, then. For, my most precious ressource is development time, and I simply cannot afford to squander days with such stuff.
I "fixed" the setDefaultEditor problem by making sure it would never reach the method call, but always goes to the else branch.
Seems to work on Mars, as well as Luna. (However, the files have the ordinary text file icon in the project explorer).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to compile this under Luna, I get 3 errors:
The text was updated successfully, but these errors were encountered: