Changeset 6323
- Timestamp:
- 06/25/15 09:44:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/bin/vlo_solr_importer.sh
r6235 r6323 12 12 fi 13 13 14 # try to get the configuration file name from the command line options 15 if [ 1 -eq $# ]; then 16 CONFIG=$1 17 else 18 # fall back to default location 19 echo No configuration location specified, using default 20 CONFIG=${DIR}/"../config/VloConfig.xml" 21 fi 14 #default configuration file 15 DFLT_CONFIG=${DIR}/"../config/VloConfig.xml" 22 16 23 17 LOGDIR=${DIR}/../log/ … … 35 29 # to the JAVA command. Please note the a specification on the command line will 36 30 # take preference over a specification as a property. 31 # 32 # to process only subset of data roots from configuration file pass the list via command line: 33 # -l path OR -l "path1 path2 ..." 34 # 37 35 38 36 $JAVA -Xmx3G \ 39 -cp "${DIR}:${DIR}/vlo-importer-${project.version}-importer.jar" \ 37 -cp "${DIR}:${DIR}/vlo-importer-3.3-SNAPSHOT-importer.jar" \ 38 -DconfigFile=${DFLT_CONFIG} \ 40 39 -DIMPORTER_LOG_DIR=${LOGDIR} \ 41 eu.clarin.cmdi.vlo.importer.MetadataImporter -c "$CONFIG"40 eu.clarin.cmdi.vlo.importer.MetadataImporter "$@" 42 41
Note: See TracChangeset
for help on using the changeset viewer.