Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tm4e-dev] Old TM4E for use with Eclipse Oxygen 3a ?

I cannot confirm nor infirm tm4e should work on Oxygen, we've not been building/testing tm4e against older versions, and I'm not aware of anyone in the active developers of the project caring about it.
Also, I don't have the time nor the motivation personally (or on behalf of my employer) to audit whether and why tm4e would work or not on older versions. That's something you'll probably need to invest in by yourself, then with contributions (those can be CI jobs), I'd be glad to make you a committer on the project so you'll more easily be able to influence for more backward-compatibility.

Cheers,

On Tuesday, June 18, 2019, Martin Oberhuber <mober.at+eclipse@xxxxxxxxx> wrote:
Hi Mickael, 

thanks a lot for your answer, but unfortunately there's no luck:
  • I cannot install 0.1.0 (install fails with "MD5sum mismatch" claiming that downloads.eclipse.org is broken)
  • 0.2.0 already fails the same way as 0.3.3, when I register Grammars > XML.tmLanguage, this is the backtrace:
java.lang.NullPointerException
at org.eclipse.tm4e.ui.themes.css.CSSTokenProvider.getEditorBackground(CSSTokenProvider.java:88)
at org.eclipse.tm4e.ui.themes.Theme.initializeViewerColors(Theme.java:140)
at org.eclipse.tm4e.ui.text.TMPresentationReconciler.applyThemeEditorIfNeeded(TMPresentationReconciler.java:839)

I have also sent my backtraces via the error reporting service.

I'm not exactly sure where to go from here... can you confirm that TM4E _should_ work with Oxygen so you are not aware of any new APIs used that were introduced only later? And, do you think that my problem is perhaps a simple fix? Or there might even be a workaround such as changing Themes into something that doesn't try to modify the editor background?

Thanks a lot!
Martin

On Tue, Jun 18, 2019 at 1:44 PM Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi,

TM4E could welcome patches to make it work on older versilns, as long as they don't introduce a risk of slowing down future development, innovation and forward compatibility.
As for finding out which commit works and which doesn't, I'm not aware which one it could be, and the recommendation I have is just to try it. There aren't so many commits on TM4E so a dichotomy shouldn't take more than.5-6 iterations.

Hth

On Tuesday, June 18, 2019, Martin Oberhuber <mober.at+eclipse@xxxxxxxxx> wrote:
Hi guys,

We would like to use TM4E on top of Eclipse Oxygen 3a, such that we get nice syntax coloring into a legacy application where we cannot easily move up from Oxygen.

Do you think it is possible, perhaps with an old release?

I would be OK building from source if necessary. I seem to remember that I've tried TM4E on Oxygen in the past (but I might be mistaken). The latest snapshot, if installed on Oxygen, produces an NPE when loading a grammar in the Preferences.

What do you think, is there a chance getting this to work?

Thanks a lot!
Martin


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers

_______________________________________________
tm4e-dev mailing list
tm4e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tm4e-dev


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers


Back to the top