-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcallite_report.cmd
45 lines (40 loc) · 1.6 KB
/
callite_report.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
rem ###################################
rem Batch file for running callite report
rem ###################################
setlocal
set callite_home=%~dp0
rem echo %callite_home%
if exist "%callite_home%/lib/callite-report-tool.jar" goto :valid
:notfound
echo ############################################################
echo Error: CALLITE files not found
echo ############################################################
PAUSE
goto :end
:valid
rem ###############
rem Set path to location of dll
rem ###############
set path=%callite_home%/lib;%path%
rem ###############
rem starting callite
rem ###############
:start
set classpath=%callite_home%/lib/callite-report-tool.jar
set classpath=%classpath%;%callite_home%/lib/crimson.jar
set classpath=%classpath%;%callite_home%/jython/dom4j-1.6.1.jar
set classpath=%classpath%;%callite_home%/lib/dsm2-input-model.jar
set classpath=%classpath%;%callite_home%/lib/hec-monolith-3.3.22.jar
set classpath=%classpath%;%callite_home%/lib/hec-nucleus-data-2.0.1.jar
set classpath=%classpath%;%callite_home%/lib/hec-nucleus-metadata-2.0.1.jar
set classpath=%classpath%;%callite_home%/lib/flogger-0.5.1.jar
set classpath=%classpath%;%callite_home%/lib/flogger-system-backend-0.5.1.jar
set classpath=%classpath%;%callite_home%/lib/itext-hyph-xml.jar
set classpath=%classpath%;%callite_home%/lib/iText.jar
set classpath=%classpath%;%callite_home%/lib/jfreechart.jar
set classpath=%classpath%;%callite_home%/lib/pdf-renderer.jar
"%callite_home%/jre1.8.0_212/bin/java" -mx512m -Djava.library.path="%callite_home%/lib" -classpath "%classpath%" gov.ca.dwr.callite.Batch %1%
:end
endlocal
rem