Mercurial > repos > siwaa > gama
comparison src/MY_gama-headless.sh @ 9:39b499a105c9 draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/gama/GAMA/galaxy-tools commit 67d85c013c62c16392b4796af86836b1334f2eef-dirty
author | siwaa |
---|---|
date | Fri, 07 Jun 2024 17:01:37 +0000 |
parents | f895e266b37a |
children | e9f88963b517 |
comparison
equal
deleted
inserted
replaced
8:6a1c0aabe956 | 9:39b499a105c9 |
---|---|
58 # create workspace in current folder | 58 # create workspace in current folder |
59 passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | wc -l) | 59 passWork=.workspace$(find ./ -maxdepth 1 -name ".workspace*" | wc -l) |
60 fi | 60 fi |
61 | 61 |
62 #if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then | 62 #if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.awt.headless=true org.eclipse.core.launcher.Main -configuration "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/configuration -application msi.gama.headless.product -data $passWork "$@"; then |
63 MY_TEMP_DIR=. | 63 #MY_TEMP_DIR=. |
64 MY_TEMP_DIR=javatmpdir | |
64 if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_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 | 65 if ! java -cp "$( dirname $( realpath "${BASH_SOURCE[0]}" ) )"/../plugins/org.eclipse.equinox.launcher*.jar -Xms512m $memory -Djava.io.tmpdir=$MY_TEMP_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 |
65 echo "Error in you command, here's the log :" | 66 echo "Error in you command, here's the log :" |
66 cat $passWork/.metadata/.log | 67 cat $passWork/.metadata/.log |
67 exit 1 | 68 exit 1 |
68 fi | 69 fi |