-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_module.bat
29 lines (22 loc) · 1.31 KB
/
create_module.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
@echo off
REM 获取传入的模块名称参数
set "module=%1"
set "project=ark-center-iam"
set "package=com\ark\center\iam"
mkdir "%project%-adapter\src\main\java\%package%\adapter\%module%"
mkdir "%project%-adapter\src\main\java\%package%\adapter\%module%\web"
mkdir "%project%-adapter\src\main\java\%package%\adapter\%module%\consumer"
mkdir "%project%-client\src\main\java\%package%\client\%module%"
mkdir "%project%-client\src\main\java\%package%\client\%module%\command"
mkdir "%project%-client\src\main\java\%package%\client\%module%\query"
mkdir "%project%-client\src\main\java\%package%\client\%module%\dto"
mkdir "%project%-domain\src\main\java\%package%\domain\%module%"
mkdir "%project%-domain\src\main\java\%package%\domain\%module%\gateway"
mkdir "%project%-domain\src\main\java\%package%\domain\%module%\service"
mkdir "%project%-domain\src\main\java\%package%\domain\%module%\vo"
mkdir "%project%-infra\src\main\java\%package%\infra\%module%"
mkdir "%project%-infra\src\main\java\%package%\infra\%module%\gateway\db\xml"
mkdir "%project%-infra\src\main\java\%package%\infra\%module%\gateway\impl"
mkdir "%project%-infra\src\main\java\%package%\infra\%module%\assembler"
mkdir "%project%-app\src\main\java\%package%\application\%module%"
mkdir "%project%-app\src\main\java\%package%\application\%module%\executor"