changeset 18:1437cd0df25b draft

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA/galaxy-tools commit 927c1d94ea613d36a1b4b8d048ba21ad43a6f55e-dirty
author siwaa
date Mon, 10 Jun 2024 12:52:22 +0000
parents 5a94c8c7c8cc
children 855883e4a317
files ESSAISENCOURS.txt src/.MY_sequential_example.py.swp src/MY_gama-headless.sh src/MY_sequential_example.py
diffstat 4 files changed, 7 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ESSAISENCOURS.txt	Mon Jun 10 12:22:11 2024 +0000
+++ b/ESSAISENCOURS.txt	Mon Jun 10 12:52:22 2024 +0000
@@ -22,7 +22,7 @@
 gama.def:
 +  chmod -R 777 /opt
 
-<tool id="gama_tool" name="gama" version="1.0.0p">
+<tool id="gama_tool" name="gama" version="1.0.0q">
 
     registry.forgemia.inra.fr/nathalie.rousse/use/gama:3fd4fb4b90db353af9bac01b99ee3b63220274c3
 
@@ -33,11 +33,11 @@
 vim MY_gama-headless.sh :
 MY_JAVA_DIR=./_java
 ...
-echo "TRACE MY_gama-headless.sh: pwd:"
-pwd;
-pwd > RRR.txt
+if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_DIR -Djava.util.prefs.systemRoot=${MY_JAVA_DIR} -Djava.util.prefs.userRoot=${MY_JAVA_USER_PREFS_DIR} -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then
 
-if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_DIR -Djava.util.prefs.systemRoot=${MY_JAVA_DIR} -Djava.util.prefs.userRoot=${MY_JAVA_USER_PREFS_DIR} -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then
+MY_sequential_example.py:
+#MY_SERVER_URL = "localhost"
+MY_SERVER_URL = "0:0:0:0:0:0:0:1" # 0:0:0:0:0:0:0:1 entered the room!
 
 #------------------------------------------------------------------------------
 
Binary file src/.MY_sequential_example.py.swp has changed
--- a/src/MY_gama-headless.sh	Mon Jun 10 12:22:11 2024 +0000
+++ b/src/MY_gama-headless.sh	Mon Jun 10 12:52:22 2024 +0000
@@ -71,12 +71,6 @@
 
 MY_TEMP_DIR=.
 
-
-echo "TRACE MY_gama-headless.sh: pwd:"
-pwd;
-pwd > RRR.txt
-
-
 if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_DIR -Djava.util.prefs.systemRoot=${MY_JAVA_DIR} -Djava.util.prefs.userRoot=${MY_JAVA_USER_PREFS_DIR} -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then
     echo "Error in you command, here's the log :"
     cat $passWork/.metadata/.log
--- a/src/MY_sequential_example.py	Mon Jun 10 12:22:11 2024 +0000
+++ b/src/MY_sequential_example.py	Mon Jun 10 12:52:22 2024 +0000
@@ -49,7 +49,8 @@
 
     # Experiment and Gama-server constants
 
-    MY_SERVER_URL = "localhost"
+    #MY_SERVER_URL = "localhost"
+    MY_SERVER_URL = "0:0:0:0:0:0:0:1" # 0:0:0:0:0:0:0:1 entered the room!
 
     MY_SERVER_PORT = 6868