]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.ria/config.json
Try to deal with encoding
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.ria / config.json
1 {
2 "name" : "ria",
3
4 "include" :
5 [
6 {
7 "path" : "${QOOXDOO_PATH}/component/apiviewer/api.json",
8 "as" : "apiconf"
9 },
10 {
11 "path" : "${QOOXDOO_PATH}/component/testrunner/testrunner.json",
12 "as" : "testrunner"
13 }
14 ],
15
16 "let" :
17 {
18 "APPLICATION" : "org.argeo.ria",
19 "QOOXDOO_PATH" : "src/qooxdoo-sdk",
20 "QXTHEME" : "org.argeo.ria.theme.RiaTheme",
21 "API_EXCLUDE" : ["qx.legacy.*"],
22 "LOCALES" : [ "en" ],
23 "ROOT" : "src/argeo-ria-src",
24 "BUILD_PATH" : "target/classes/argeo-ria",
25 "RIA_LIB_PATH" : "src/argeo-ria-lib",
26 "RIA_LIB_URI" : "../argeo-ria-lib",
27 "CACHE" : "cache" ,
28 "CUSTOM_PACKAGE" : "org.argeo.security.ria"
29 },
30
31 "jobs" :
32 {
33 "common" :
34 {
35 "library" :
36 [
37 {
38 "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json"
39 },
40 {
41 "manifest" : "${RIA_LIB_PATH}/security/Manifest.json"
42 },
43 {
44 "manifest" : "${ROOT}/Manifest.json"
45 }
46 ],
47
48 "include" :
49 [
50 "${APPLICATION}.Application",
51 "${CUSTOM_PACKAGE}.*",
52 "${QXTHEME}"
53 ],
54
55 "cache" :
56 {
57 "compile" : "${CACHE}"
58 },
59
60 "settings" :
61 {
62 "qx.version" : "${QXVERSION}",
63 "qx.theme" : "${QXTHEME}",
64 "qx.application" : "${APPLICATION}.Application",
65 "ria.auth.enableAuth" : "true",
66 "ria.auth.credentialsURI" : "/org.argeo.security.webapp/getCredentials.security",
67 "ria.auth.loginURI" : "/org.argeo.slc.webapp/authService.ria",
68 "ria.auth.logoutURI" : "/org.argeo.slc.webapp/authService.ria?logout=true",
69 "ria.StartupPerspective":"org.argeo.security.ria.Perspective"
70 }
71 },
72
73 // -- source jobs --------------------------------------------------
74
75 "source-script" :
76 {
77 "extend" : ["common"],
78
79 "compile-source" :
80 {
81 "file" : "${ROOT}/script/${APPLICATION}.js",
82 "locales" : "${LOCALES}",
83 "root" : "${ROOT}",
84 "gzip" : false
85 }
86 },
87
88
89 "slc-source" :
90 {
91 "run" :
92 [
93 "source-script"
94 ]
95 },
96
97 // -- build jobs --------------------------------------------------
98
99 "build-script" :
100 {
101 "extend" : ["common"],
102
103 "variants" :
104 {
105 "qx.debug" : ["off"]
106 },
107
108 "compile-dist" :
109 {
110 "paths" :
111 {
112 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
113 "gzip" : false
114 },
115 "uris" :
116 {
117 "script" : "script",
118 "resource" : "resource"
119 },
120 "code" :
121 {
122 "format" : true,
123 "locales" : "${LOCALES}",
124 "optimize" : ["variables", "basecalls", "privates", "strings"]
125 }
126 /*
127 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
128 "target" : "${BUILD_PATH}",
129 "uri" : "script/${APPLICATION}.js",
130 "root" : "${BUILD_PATH}",
131 "format" : "on",
132 "locales" : "${LOCALES}",
133 "optimize" : ["basecalls", "variables", "privates", "strings"]
134 */
135 }
136 },
137
138
139 "build-resources":
140 {
141 "extend" : ["common"],
142
143 "copy-resources" :
144 {
145 "target" : "${BUILD_PATH}",
146 "resource-filter" : true
147 }
148 },
149
150 "my-build-files" :
151 {
152 "extend" : ["common"],
153
154 "copy-files" :
155 {
156 "files" :
157 [
158 "index.html"
159 ],
160 "source" : "${ROOT}",
161 "target" : "${BUILD_PATH}"
162 }
163 },
164
165 "slc-build" :
166 {
167 "run" :
168 [
169 "build-script",
170 "my-build-files",
171 "build-resources"
172 ]
173 },
174
175 "slc-api" :
176 {
177 "extend" : ["apiconf::build"],
178
179 "let" :
180 {
181 "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/component/apiviewer",
182 "BUILD_PATH" : "./target/site/argeo-ria-api/",
183 "API_INCLUDE" : ["${APPLICATION}.*", "${CUSTOM_PACKAGE}.*"]
184 },
185
186 "library" :
187 [
188 {
189 "manifest" : "${ROOT}/Manifest.json",
190 "uri" : ".."
191 },
192 {
193 "manifest" : "${RIA_LIB_PATH}/security/Manifest.json",
194 "uri" : "${RIA_LIB_URI}/security"
195 }
196 ]
197 },
198
199 "slc-test" :
200 {
201 "extend" : ["testrunner::build"],
202
203 "let" :
204 {
205 "TESTRUNNER_ROOT" : "${QOOXDOO_PATH}/component/testrunner",
206 "TEST_INCLUDE" : "${APPLICATION}.test.*",
207 "BUILD_PATH" : "./target/site/argeo-ria-test/"
208 },
209
210 "library" :
211 [
212 {
213 "manifest" : "${ROOT}/Manifest.json",
214 "uri" : ".."
215 }
216 ]
217 }
218
219
220 }
221 }