forked from biliroy/base-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quick-start.bat
35 lines (20 loc) · 838 Bytes
/
quick-start.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
29
30
31
32
33
34
35
@echo off
set base_path=%cd%
echo [INFO] install jar to local m2 repository.
call mvn clean source:jar install -Dmaven.test.skip=true
echo [INFO] create base curd project archetype.
cd %base_path%\showcase\base-curd
call mvn archetype:create-from-project
echo [INFO] install base curd archetype to local m2 repository
cd %base_path%\showcase\base-curd\target\generated-sources\archetype
call mvn clean install -Dmaven.test.skip=true
echo [INFO] delete base curd project generated-sources target
cd %base_path%\showcase\base-curd
rd /S /Q target
echo [INFO] init h2 data
call mvn antrun:run
echo [INFO] start base curd app
start "base curd" mvn clean jetty:run
echo [INFO] Please wait a moment. When you see "[INFO] Started Jetty Server", you can visit: http://localhost:8080/base-curd/ to view the demo
cd %base_path%
pause