Repast / repast.simphony

Git repository for Repast Simphony development
repast.github.io
90 stars 21 forks source link

Groovy Eclipse plugin / Groovy 3 support #53

Closed etatara closed 2 years ago

etatara commented 2 years ago

The latest Groovy Eclipse plugin no longer supports Groovy 2.4, and has moved to only supporting Groovy 2.5 and Groovy 3. Furthermore, the groovy-all.jar packaging is no longer available with the Groovy Eclipse plugin, and the Groovy project nature classpath container only provides access to the Groovy core language libraries. Some of the r.s.eclipse and relogo projects depend on the groovy util, xml, etc. packages contained in the auxilliary libs. We need to refactor the RS project dependencies on the groovy libs.

etatara commented 2 years ago

The RS projects with Groovy project natures can still access the core Groovy language classes via the Groovy Eclipse classpath container. This is the groovy-3.0.8-indy.jar in the Groovy Eclipse plugin /lib folder. To provide access to the other required Groovy libs, we copied the additional groovy-3.0.8-__.jar into the r.s.groovy project and export them. These auxiliary Groovy classes are only needed by the RS Eclipse plugin and not the Repast runtime.

We updated the start_model launch configs in the model installer to find the groovy-3.0.8-indy.jar and include this with the bundled install files.