Closed RoiArthurB closed 1 year ago
When exploring Gama.app
on macOS, I can see that the models
folder inside Contents/Eclipse/plugins/simtools.gaml.extensions.physics_1.9.2.202309031322
is effectively empty. So it means that the problem occurred at compilation / assemblage time, while https://github.com/gama-platform/gama/tree/GAMA_1.9.2/simtools.gaml.extensions.physics/models/Physics%20Engine is obviously not...
But do you have the Physics
folder in GAMA on MacOS ? Because, what's odd, is that it's missing on Linux but present on Windows 11... :thinking:
Missing on macOS too. models
is empty in the plugin and so no models is copied in the workspace of GAMA.
You mean 1.9.2 release? i download withJDK_M1 and it is here with physics plugins, in a new GAMA workspace
Absent from GAMA_1.9.2_MacOS_M1.dmg as you can see below.
But present in the one with JDK ! See below:
Thank you @hqnghi88, you nailed it !
@RoiArthurB it is definitely an "assemblage" problem during the compilation on GHA.
Make no sense, the jdk version is just a copy-pasted project (with add/modified file to embed JDK), so it shouldn't have any difference between versions for those files.
Also, this folder is properly filled after compilation for each os
Tested and fixed on c2e0cc20 for Linux w/o JDK :)
plugins/simtools.gaml.extensions.physics_1.9.3.202309250401/models
└── Physics Engine
├── images
│ ├── ball.jpg
│ ├── bam.png
│ ├── bang.png
│ ├── basket.jpg
│ ├── DEM
│ │ ├── DEM.jpg
│ │ ├── DEM.png
│ │ ├── RedRiver.asc
│ │ ├── Volcano DEM.asc
│ │ ├── Volcano DEM.asc.aux.xml
│ │ ├── Volcano DEM.prj
│ │ └── Volcano Texture.jpg
│ ├── foot.jpg
│ ├── marble2.jpg
│ ├── marble.jpg
│ ├── mat.jpg
│ ├── tennis.jpg
│ └── wood.jpg
└── models
├── Eroding Vulcano.gaml
├── Falling.gaml
├── Flow on Terrain.gaml
├── Perfect Gas Chamber.gaml
├── Play Pool.gaml
├── Stairs.gaml
├── Testing Restitution.gaml
├── Testing Steps.gaml
└── Tricky Fountain.gaml
5 directories, 26 files
Describe the bug The plugin
physics
doesn't add models in thePlugin model
folder after a new workspace initialization on LinuxTo Reproduce Steps to reproduce the behavior:
Plugin model
folderExpected behavior Have every plugin's demo model added in library
Screenshots
Desktop (please complete the following information):
EDIT : While manually copying
Stairs.gaml
model, it works perfectly fine, it's just the model library which is missing :/