gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
304 stars 99 forks source link

When running GAMA using Eclipse 4.24 (2022-06) projects are marked with a warning #3485

Closed AlexisDrogoul closed 2 years ago

AlexisDrogoul commented 2 years ago

Describe the bug All the projects in the navigator are marked with a warning sign, but there are no warnings emanating from GAML (see screenshot)

Reason The platform committers have changed in 4.24 the behaviour of workspace encodings here (https://bugs.eclipse.org/bugs/show_bug.cgi?id=479451) and a warning is now emitted when no explicit encoding is set on a project. However, the GAMA workspaces should not be concerned as UTF-8 is enforced everywhere. Problem is that there are no preferences in 4.24 to turn this warning off. This is only mentioned as part of the 4.25 (2022-09) release, but it is not clear how it can be programmatically set.

Screenshots

multi-criteria experiment - Gama (runtime) 2022-09-09 12-17-06
AlexisDrogoul commented 2 years ago

A temp fix has been committed. It will need to be removed at some point after GAMA moves to Eclipse 4.25, as the preference for not emitting the warning should exist in this version.