Mercurial > repos > siwaa > gama
comparison src/MY_gama-headless.sh @ 11:8623205348e5 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:37:53 +0000 |
parents | e9f88963b517 |
children | 13296d4a29cf |
comparison
equal
deleted
inserted
replaced
10:e9f88963b517 | 11:8623205348e5 |
---|---|
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 mkdir javatmpdir; chmod 777 javatmpdir; | |
65 MY_TEMP_DIR=javatmpdir | |
66 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 | 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 |
67 echo "Error in you command, here's the log :" | 65 echo "Error in you command, here's the log :" |
68 cat $passWork/.metadata/.log | 66 cat $passWork/.metadata/.log |
69 exit 1 | 67 exit 1 |
70 fi | 68 fi |