]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/config.json
Introduce P2 provisioning
[gpl/argeo-slc.git] / org.argeo.slc.webapp / config.json
1 {
2 "name" : "slc",
3
4 "include" :
5 [
6 {
7 "path" : "G:/dev/qooxdoo-0.8-sdk/tool/data/config/application.json"
8 }
9 ],
10
11 "let" :
12 {
13 "APPLICATION" : "org.argeo.slc.web",
14 "QOOXDOO_PATH" : "src/main/webapp/qooxdoo",
15 "QOOXDOO_URI" : "../qooxdoo",
16 "QXTHEME" : "qx.theme.Modern",
17 "QXICONTHEME" : ["Tango"],
18 "API_EXCLUDE" : ["qx.legacy.*"],
19 "LOCALES" : [ "en" ],
20 "ROOT" : "src/main/webapp/",
21 "BUILD_PATH" : "src/main/webapp/build",
22 "CACHE" : "cache"
23 },
24
25 "jobs" :
26 {
27 "common" :
28 {
29 "library" :
30 [
31 {
32 "manifest" : "${QOOXDOO_PATH}/Manifest.json",
33 "uri" : "${QOOXDOO_URI}"
34 },
35
36 {
37 "manifest" : "${ROOT}/Manifest.json",
38 "uri" : ".."
39 }
40 ],
41
42 "include" :
43 [
44 "${APPLICATION}.Application",
45 "${QXTHEME}"
46 ],
47
48 "cache" :
49 {
50 "compile" : "${CACHE}"
51 },
52
53 "settings" :
54 {
55 "qx.version" : "${QXVERSION}",
56 "qx.theme" : "${QXTHEME}",
57 "qx.application" : "${APPLICATION}.Application"
58 }
59 },
60
61 // -- source jobs --------------------------------------------------
62
63 "source-script" :
64 {
65 "extend" : ["common"],
66
67 "compile-source" :
68 {
69 "file" : "${ROOT}/source/script/${APPLICATION}.js",
70 "locales" : "${LOCALES}",
71 "root" : "${ROOT}/source"
72 }
73 },
74
75
76 "slc-source" :
77 {
78 "run" :
79 [
80 "source-script"
81 ]
82 },
83
84 // -- build jobs --------------------------------------------------
85
86 "build-script" :
87 {
88 "extend" : ["common"],
89
90 "variants" :
91 {
92 "qx.debug" : ["off"]
93 },
94
95 "compile-dist" :
96 {
97 "target" : "${BUILD_PATH}",
98 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
99 "uri" : "script/${APPLICATION}.js",
100 "root" : "${BUILD_PATH}",
101 "format" : "on",
102 "locales" : "${LOCALES}",
103 "optimize" : ["basecalls", "variables", "privates", "strings"]
104 }
105 },
106
107
108 "build-resources":
109 {
110 "extend" : ["common"],
111
112 "copy-resources" :
113 {
114 "target" : "${BUILD_PATH}",
115 "resource-filter" : true
116 }
117 },
118
119 "my-build-files" :
120 {
121 "extend" : ["common"],
122
123 "copy-files" :
124 {
125 "files" :
126 [
127 "index.html"
128 ],
129 "source" : "${ROOT}/source",
130 "target" : "${BUILD_PATH}"
131 }
132 },
133
134 "slc-build" :
135 {
136 "run" :
137 [
138 "build-resources",
139 "build-script",
140 "my-build-files"
141 ]
142 }
143
144 }
145 }