-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.bat
28 lines (22 loc) · 626 Bytes
/
install.bat
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
@echo off
set MAVEN_HOME=H:\Applications\apache-maven-3.0.4
if not defined JAVA_HOME goto SET_JAVA
:SET_JAVA
set JAVA_HOME=H:\Java\jdk1.8.0_25
goto RUN
:RUN
REM Install echoextractor(ef)
cd /d %~dp0
call %MAVEN_HOME%\bin\mvn clean package
call %MAVEN_HOME%\bin\mvn site:site
REM Create dist directory
mkdir dist
xcopy /s/e/i target\lib\* dist\lib\
xcopy /s/e/i config\* dist\config\
xcopy /s/e/i resources\* dist\resources\
xcopy /s/e/i data\test\* dist\data\test
xcopy /s/e/i data\ReferenceStandard\* dist\data\ReferenceStandard
copy /Y runClient.* dist\
copy /Y runService.* dist\
copy /Y target\*.jar dist\
pause