dataminer-algorithms-importer/distro/addAlgorithm.sh

7 lines
441 B
Bash
Raw Permalink Normal View History

#!/bin/sh
INFRA_ENV=$( egrep ^INFRA_REFERENCE= /usr/local/bin/algorithms-updater | cut -d = -f 2 )/software
if [ ! -z $9 ] ; then
INFRA_ENV=$9
fi
echo $# arguments to $0: $*
2020-11-27 17:45:02 +01:00
java -cp ../tomcat/webapps/wps/WEB-INF/lib/*:../tomcat/lib/*:./*:../wps_algorithms/algorithms/$INFRA_ENV org.gcube.dataanalysis.wps.mapper.DataMinerUpdater -a$1 -l../wps_algorithms/algorithms/$INFRA_ENV -t$2 -i$3 -c../wps_config/ecocfg/ -s$4 -e$5 -k$6 -u$7 -d$8s