Install plugins in Git version

81 views
Skip to first unread message

Marco Pellegrino

unread,
Oct 4, 2021, 10:24:58 AM10/4/21
to GAMA
Hi all,
I was trying to develop a new plugin extension, so I downloaded the GAMA Git version for Eclipse. To test my plugin I would need to install some other existing plugin, such as RJava. However, from what I am experiencing, the Git version does not allow to install plugins, am I correct? Any idea how to overcome this? Should I develop my plugin and then transfer it to the usual GAMA version to try?
Thanks in advance

Alexis DROGOUL

unread,
Oct 4, 2021, 11:28:46 AM10/4/21
to GAMA
Hi,

You have at least two choices, and both involve tweaking the "Run Configuration..." create when running the Gama Runtime Product. 

1) In the "Configuration" tab, you can choose to have your application support the installation of plugins (like the regular standalone Gama). Useful if you want to install them in the "normal" conditions. 

Run Configurations 2021-10-04 22-21-46(1).png


2) In the "Plugins" tab, you can choose to install them manually if they are already in your workspace or installation of Eclipse. Just type the beginning of the plugin's name (like "RJ" below) to select it among the hundreds available. 

Run Configurations 2021-10-04 22-22-46(1).png

Finally, if you want to make it permanently, I would advise you to alter the product and add to it, for instance, a new feature that would contain the set of plugins you need. 

Hope this helps,

Cheers
Alexis








Marco Pellegrino

unread,
Oct 6, 2021, 8:30:19 AM10/6/21
to GAMA
Hi Alex,
thanks for your quick and very useful reply. However, how do you get to that screen/perspective of Eclipse?
Mine looks like this:

Thanks again in advance

Capture.PNG

Alexis Drogoul (IRD)

unread,
Oct 6, 2021, 11:55:26 AM10/6/21
to gama-p...@googlegroups.com
Hi Marco,

You get these screens from the "Run..." icon in the main toolbar (click on the little black arrow and choose "Run configurations...") after you have launched GAMA at least once using your product. 

Cheers
Alexis

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gama-platform/88b33ca5-894b-49fd-9d56-0d167c4a0711n%40googlegroups.com.
<Capture.PNG>
Message has been deleted

Alexis Drogoul (IRD)

unread,
Oct 7, 2021, 11:38:41 AM10/7/21
to gama-p...@googlegroups.com
Hi,

If you're using the 1.8.2 version on Git, I'm not quite sure you can get updates from the experimental site. @Nghi, any  ideas ? 

Otherwise, if you import the plugin you are interested in into your Eclipse workspace, then it should be visible by your run configuration and you can add it manually. 

Alexis


Le 7 oct. 2021 à 17:04, Marco Pellegrino <marcopell...@gmail.com> a écrit :

I see, thanks!
However, my Gama cannot find the experimental website to install the plugin:  http://updates.gama-platform.org/experimental Any idea?
Otherwise I did not find much instructions on how to import the plugin manyally how you say in the 2nd option. I am not sure in which folder it should be to be seen.

Best,
Marco

Quang Nghi HUYNH

unread,
Oct 7, 2021, 12:01:51 PM10/7/21
to gama-p...@googlegroups.com
Hi, If you use git version on branch 1.8.2, you should point to  http://updates.gama-platform.org/experimental/1.8.2 to install plugin. 
And may be i broke the http://updates.gama-platform.org/experimental  (again) , i will check it.
but as Alexis suggest, you mostly can add all your plugins to product, feature when using git version 



--
-------
HUYNH Quang-Nghi, Ph.D.
Lecturer
CICT - CTU,  Can Tho, Viet Nam

Core Developer of GAMA modeling and simulation platform

[Vietnam] +84909128322


Quang Nghi HUYNH

unread,
Oct 7, 2021, 2:51:55 PM10/7/21
to gama-p...@googlegroups.com
Hi , just to inform you that  http://updates.gama-platform.org/experimental  is online again, can you try again?
Thanks

Marco Pellegrino

unread,
Oct 8, 2021, 5:45:49 AM10/8/21
to GAMA
Hi all,
thanks for your support. Now the experimental server works again and plugins can be downloaded again. I also managed to import them manually in the Eclipse workspace

Marco

Marco Pellegrino

unread,
Feb 7, 2022, 11:16:14 AM2/7/22
to GAMA
Hi all,
I'm back with this old problem.
I am able to temporarily install RJava like the 1st option but after the suggested restart the plugin is not there.

So, I want to manually install the RJava plugin, as the 2nd option of the first message in this thread suggested.
However, since it does not exist in my workspace, I do not know where I can find the files. Also, I am not sure where in the workspace they must be placed to be found by Eclipse.

Thanks in advance for the help

Nghi Quang HUYNH

unread,
Feb 7, 2022, 7:37:33 PM2/7/22
to gama-p...@googlegroups.com
Hi,
It is normal that the eclipse version will remove the cache (including the plugin installed in previous launching). There is an option to keep cache in launch configuration but i did not use it ever. 
However, you can checkout/clone this repository https://github.com/gama-platform/gama.experimental , it contains the Rjava plugin , and redo the  2nd step. It should stay permanently in the launch configuration and you dont need to re-install each time. 

Marco Pellegrino

unread,
Feb 8, 2022, 5:31:08 AM2/8/22
to GAMA
Thanks! I'm still a bit confused.
Should I download the ummisco.gaml.feature.rjava or ummisco.gaml.extensions.rjava directory?
Also, where should I place it exactly in the Eclipse workspace? Does it get recognised automatically, or do I need to import it somehow in Eclipse, to then be added through Run configuration...

Reply all
Reply to author
Forward
0 new messages