owl-cli 7.8.0 → 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/owl-init.js +8 -1
- package/examples/buildProperties/build.properties +2 -1
- package/examples/models/owlsys/appInfo.json +52 -0
- package/examples/owlsysApps/commonService/build.xml +1 -1
- package/examples/owlsysApps/owlPermission/build.xml +1 -1
- package/examples/owlsysApps/owlShell/build.xml +3 -2
- package/package.json +1 -1
package/bin/owl-init.js
CHANGED
|
@@ -61,8 +61,15 @@ let buildPropertiesPath = join(__dirname,'../examples/buildProperties');
|
|
|
61
61
|
let fullname = resolve(buildPropertiesPath,'build.properties');
|
|
62
62
|
let buildPropertiesDir = join(cwd,"buildProperties");
|
|
63
63
|
fs.mkdirSync(buildPropertiesDir)
|
|
64
|
+
|
|
65
|
+
|
|
64
66
|
let dstBuildProperties = resolve(buildPropertiesDir,'build.properties')
|
|
65
|
-
|
|
67
|
+
|
|
68
|
+
let buildPropertiesContent = "deployUrl=http://localhost/deployer/deploy.jsp\n" +
|
|
69
|
+
"deployPass=change_it_in_catalina_sh\n";
|
|
70
|
+
|
|
71
|
+
buildPropertiesContent += "antlibpath=" + antLibPath.replace(/\\/g, "/") + "\n";
|
|
72
|
+
fs.writeFileSync(dstBuildProperties, buildPropertiesContent, {flag: 'w'})
|
|
66
73
|
|
|
67
74
|
|
|
68
75
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "string(12)disabled:true,searchable:true;数据Id",
|
|
3
|
+
"status": "choice,values:up_生效/down_失效,searchable:true;是否生效",
|
|
4
|
+
"money_symbol": "string(64),tab:021;货币符号",
|
|
5
|
+
"appLogo": "image,spec:300x300,size:5M,exts:png#jpg#gif#jpeg,formSize:8,maxFileCount:1;logo",
|
|
6
|
+
"siteTitle": "string(16),listTab:02,formSize:8,searchable:true;网站标题",
|
|
7
|
+
"paymethods": "string(1024),searchable:true;支付方式",
|
|
8
|
+
"defaultProductPic": "image,spec:300x300,size:5M,exts:png#jpg#gif#jpeg,formSize:8,maxFileCount:1;系统默认图片",
|
|
9
|
+
"agreement": "string(65535),multiline:T,formSize:8;用户协议",
|
|
10
|
+
"wechat_setting": {
|
|
11
|
+
"#meta": {
|
|
12
|
+
"fieldLabel": "微信公众号设置",
|
|
13
|
+
"tab": "06",
|
|
14
|
+
"position": "card",
|
|
15
|
+
"includeKey": "no"
|
|
16
|
+
},
|
|
17
|
+
"subscribeMsgTitle": "string(128), formSize:8;用户订阅自动回复消息标题",
|
|
18
|
+
"subscribeMsgDesc": "string(512), multiline:T,formSize:8,searchable:true;用户订阅自动回复消息描述",
|
|
19
|
+
"subscribeMsgUrl": "string(512), multiline:F,formSize:8,searchable:true;用户订阅自动回复消息Url",
|
|
20
|
+
"subscribeMsgPic": "image,spec:300x300,size:5M,exts:png#jpg#gif#jpeg,maxFileCount:5,tab:09,formSize:8,searchable:true;用户订阅自动回复消息图片"
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
"_t":"mall_appinfo",
|
|
24
|
+
"#meta":{
|
|
25
|
+
"rem":"系统信息",
|
|
26
|
+
"push": true,
|
|
27
|
+
"projectName":"系统信息",
|
|
28
|
+
"parent":["platform"],
|
|
29
|
+
"visitType": [
|
|
30
|
+
"platform"
|
|
31
|
+
],
|
|
32
|
+
"pos":4,
|
|
33
|
+
"list": ["id","status","appLogo","siteTitle","defaultProductPic"],
|
|
34
|
+
"group":{
|
|
35
|
+
"id": "systemadmin",
|
|
36
|
+
"name": "系统管理",
|
|
37
|
+
"icon": "setting",
|
|
38
|
+
"pos": 30
|
|
39
|
+
},
|
|
40
|
+
"export":[
|
|
41
|
+
{
|
|
42
|
+
"label":"导出完整",
|
|
43
|
+
"mainTitleFormat":{"background":"#ffffff","color":"#000000"},
|
|
44
|
+
"subTitleFormat":{"background":"#777777","color":"#ffffff"},
|
|
45
|
+
"subRecordFormat":{"background":"#ffffff","color":"#000000"},
|
|
46
|
+
"mainRecordFormat":{"background":"#ffffff","color":"#000000"},
|
|
47
|
+
"key":"completeDoc",
|
|
48
|
+
"fields":["*"]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
2
|
<project name="commonService" default="all" basedir=".">
|
|
3
3
|
<property file="../../buildProperties/build.properties"></property>
|
|
4
|
-
<property name="libpath" value="
|
|
4
|
+
<property name="libpath" value="${antlibpath}"></property>
|
|
5
5
|
<target name="build">
|
|
6
6
|
<mkdir dir="out"/>
|
|
7
7
|
<exec executable="java">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
2
|
<project name="owlService" default="all" basedir=".">
|
|
3
3
|
<property file="../../buildProperties/build.properties"></property>
|
|
4
|
-
<property name="libpath" value="
|
|
4
|
+
<property name="libpath" value="${antlibpath}"></property>
|
|
5
5
|
<target name="build">
|
|
6
6
|
<mkdir dir="out"/>
|
|
7
7
|
<exec executable="java">
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
2
|
<project name="owlShell" default="all" basedir=".">
|
|
3
3
|
<property file="../../buildProperties/build.properties"></property>
|
|
4
|
+
<property name="libpath" value="${antlibpath}"></property>
|
|
4
5
|
<target name="build">
|
|
5
6
|
<mkdir dir="out"/>
|
|
6
7
|
<exec executable="java">
|
|
7
8
|
<arg line="-jar"></arg>
|
|
8
|
-
<arg path="
|
|
9
|
+
<arg path="${libpath}/appBuilder.jar"/>
|
|
9
10
|
<arg line="src/"></arg>
|
|
10
11
|
<arg line="out/owlShell.zip"/>
|
|
11
12
|
</exec>
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
<target name="deploy">
|
|
15
16
|
<exec executable="java">
|
|
16
17
|
<arg line="-jar "></arg>
|
|
17
|
-
<arg path="
|
|
18
|
+
<arg path="${libpath}/appDeployer.jar"/>
|
|
18
19
|
<arg line="${deployUrl}"></arg>
|
|
19
20
|
<arg line="${deployPass}"></arg>
|
|
20
21
|
<arg line="out/owlShell.zip"/>
|