Project

General

Profile

Revision 4999

Added by Duane Costa over 11 years ago

Implement fix for Bug #4245: Harvester command line scripts don't execute.

View differences:

runHarvester.bat
1 1
echo off
2 2
set METACAT_CLASSES=%METACAT_HOME%\build\classes
3 3
set METACAT_LIB=%METACAT_HOME%\lib
4
set JDBC=%METACAT_HOME%\build\war\lib\jdbc.jar
5
set LIB_JARS=%METACAT_LIB%\cos.jar;%METACAT_LIB%\xercesImpl.jar;%METACAT_LIB%\utilities.jar
4
set LOG4J_PATH=%METACAT_HOME%\build\war\WEB-INF\log4j.properties
5
set JDBC=%METACAT_HOME%\build\war\lib\jdbc.jar;%METACAT_LIB%\postgresql-8.0-312.jdbc3.jar
6
set LIB_JARS=%METACAT_LIB%\cos.jar;%METACAT_LIB%\xercesImpl.jar;%METACAT_LIB%\utilities.jar;%METACAT_LIB%\log4j-1.2.12.jar;%METACAT_LIB%\xalan.jar
6 7
set CLASSPATH=%METACAT_CLASSES%;%JDBC%;%LIB_JARS%
7 8
cd %METACAT_CLASSES%
8
java edu.ucsb.nceas.metacat.harvesterClient.Harvester
9
java -Dlog4j.configuration=%LOG4J_PATH% edu.ucsb.nceas.metacat.harvesterClient.Harvester

Also available in: Unified diff