forked from qcri/NADEEF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnadeef.bat
More file actions
35 lines (28 loc) · 792 Bytes
/
Copy pathnadeef.bat
File metadata and controls
35 lines (28 loc) · 792 Bytes
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
:begin
@echo off
:START
set argC=0
for %%x in (%*) do Set /A argC+=1
if not %argC% == 1 (
"java" -cp out\bin\*;out\test;examples\;out\production\ qa.qcri.nadeef.console.Console
) else (
if "%1" == "console" (
"java" -cp out\bin\*;out\test;examples\;out\production\ qa.qcri.nadeef.console.Console
) else if "%1" == "dashboard" (
"java" -cp out\bin\*;out\production\ qa.qcri.nadeef.web.NadeefStart
) else (
goto usage
)
)
goto end
:noJDK
echo Cannot find JDK installed.
goto end
:noCompile
echo Nadeef is not compiled yet. Run 'ant' to compile Nadeef.
:usage
echo Usage: nadeef.sh [OPTIONS]
echo Options are:
echo console : start the NADEEF console.
echo dashboard : start the NADEEF dashboard.
:end