Skip to content

Many issues with Eclipse 2025-03 #21

Description

@dmigowski

Version: 2025-03 (4.35.0)
Build id: 20250306-0812

I downloaded AntlrDT from https://www.certiv.net/updates with Eclipse 2025-03.

When I try to change the configuration at Windows->Preferences, then Certiv Tools->AntlrDT->Formatting, the error "The currently displayed page contains invalid values". The was before I ever changed values in that page before.

In the Eclipse event log I see:

java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
	at net.certiv.adept.model.load.ConfigMgr.loadSettings(ConfigMgr.java:80)
	at net.certiv.adept.Tool.chkSettings(Tool.java:243)
	at net.certiv.adept.Tool.setCorpusRoot(Tool.java:334)
    ... snipped ...
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:607)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1492)
Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder cannot be found by net.certiv.dsl.lib_0.34.0.20240221-0231
	... 66 more

Another problem is in Project settings, when I try to add build paths. The window for the new build path appears in from of the configuration window, but is inaccessible, because it seems to have the eclipse main window as parent and not the configuration window.

Another problem is: I have a few grammars in a subpackage which include each other, which is completely fine for ANTLR, but the plugin doesn't find these grammars. To reproduce create a Java project with a source folder, create a package in that folder, adad two grammars, one including the other, and the ANTLR plugin doesn't find the grammar.

The last problem: I cannot specify the output folder for the generated files. These should be in another source folder "src-gen" and in a subpackage there, again, no problem when I call ANTLR directly, althought I have to specify the package header explicitely in the grammar, but I cannot find out how to do that with AntlrDT and have build errors in my project now.

Thanks for your attention.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions