orbisgis / orbisgis-official-plugins

A set of optional gui components provided as optionnal features of OrbisGIS
1 stars 3 forks source link

Groovy version incompatibility #81

Open nicolas-f opened 6 years ago

nicolas-f commented 6 years ago

OrbisGIS use Groovy version 2.3.6 https://github.com/orbisgis/orbisgis/blob/master/pom.xml#L115

Groovy console use groovy version 2.4.7 https://github.com/orbisgis/orbisgis-official-plugins/blob/master/groovyConsole/pom.xml#L102

Thanks to OSGi it still works . However we have to download another groovy package for this console.

We could downgrade groovy version here, or specify the compatibility version range in the pom.xml:

https://davidvaleri.wordpress.com/2011/04/07/secrets-of-the-felix-bundle-plug-in-macros-revealed/

ebocher commented 6 years ago

Why not upgrade OrbisGIS groovy version? Is there a reason to downgrade ?

nicolas-f commented 6 years ago

Only for a minimum impact on OrbisGIS.

SPalominos commented 6 years ago

The OrbisGIS upgrade will implicate an upgrade of orbiswps. In orbiswps, the groovy version is linked to the groovy-eclipse-compiler version and its update is quite tricky. So it will be done a bit later.