ANRGenstar / genstar.gamaplugin

GAMA plugin of the GENSTAR project
0 stars 2 forks source link

GitHub license Language Lines of Code

Build Status Bugs Vulnerabilities

Temporary install procedure in GAMA

This install procedure has been tested the 19th of April 2018. It has many drawbacks (copy-paste of jars, incompatible with the continuous built, use of very heavy jars for genstar, with duplicated libraries, Eclipse-dependent...) but has the main advantage to integrate very well in a classical IDE for GAMA. So it is only temporary!

To use and develop the Genstar Plugin in GAMA, you need:

1. Install Eclipse and GAMA source code

cf. as presented here: https://github.com/gama-platform/gama/wiki/InstallingGitVersion

2. Get the source code of the genstar library and genstar plugin.

Clone the following GitHub repository Github:

With Eclipse:

In the View Git Repositories, you should have 4 repositories: gama, gamaplugin, genstar and template.

3. Import the genstar library as Eclipse projects.

4. Import the genstar plugin as Eclipse projects.

5. Import the template as Eclipse projects. (similarly)

6. Associate genstar library with the GAMA plugin.

The GAMA Plugin comes with all the necessary jar libraries and in particular the genstar library.

If you want to modify the genstar library, after a modifications you need to build again the genstar libraries:

In the case where a ClassNotFoundException appears in GAMA, when running a model using Genstar operators, it could be due to a missing .jar in the gamaplugin plugin. You should thus need to add the missing library in the lib folder (you also have to add it in the plugin.xml, in the classpath pane).

A sure case to avoid any missing library, you can follow the following procedure, to prouce the genstar library with all the needed libraries:

7. Ask GAMA to call the plugin at start