]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.ria/config.json
Add marshaller serializer
[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.branding.splashScreen" : "ria/ArgeoLogo.png",
66 "ria.branding.applicationTitle" : "Argeo Security RIA",
67 "ria.branding.aboutString" : "Argeo Ria is a product of Argeo",
68 "ria.auth.enableAuth" : "true",
69 "ria.auth.credentialsURI" : "/org.argeo.security.webapp/getCredentials.ria",
70 "ria.auth.loginURI" : "/org.argeo.security.webapp/login.ria",
71 "ria.auth.logoutURI" : "/org.argeo.security.webapp/logout.ria",
72 "ria.StartupPerspective" : "org.argeo.security.ria.Perspective"
73 }
74 },
75
76 // -- source jobs --------------------------------------------------
77
78 "source-script" :
79 {
80 "extend" : ["common"],
81
82 "compile-source" :
83 {
84 "file" : "${ROOT}/script/${APPLICATION}.js",
85 "locales" : "${LOCALES}",
86 "root" : "${ROOT}",
87 "gzip" : false
88 }
89 },
90
91
92 "slc-source" :
93 {
94 "run" :
95 [
96 "source-script"
97 ]
98 },
99
100 // -- build jobs --------------------------------------------------
101
102 "build-script" :
103 {
104 "extend" : ["common"],
105
106 "variants" :
107 {
108 "qx.debug" : ["off"]
109 },
110
111 "compile-dist" :
112 {
113 "paths" :
114 {
115 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
116 "gzip" : false
117 },
118 "uris" :
119 {
120 "script" : "script",
121 "resource" : "resource"
122 },
123 "code" :
124 {
125 "format" : true,
126 "locales" : "${LOCALES}",
127 "optimize" : ["variables", "basecalls", "privates", "strings"]
128 }
129 /*
130 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
131 "target" : "${BUILD_PATH}",
132 "uri" : "script/${APPLICATION}.js",
133 "root" : "${BUILD_PATH}",
134 "format" : "on",
135 "locales" : "${LOCALES}",
136 "optimize" : ["basecalls", "variables", "privates", "strings"]
137 */
138 }
139 },
140
141
142 "build-resources":
143 {
144 "extend" : ["common"],
145
146 "copy-resources" :
147 {
148 "target" : "${BUILD_PATH}",
149 "resource-filter" : true
150 }
151 },
152
153 "my-build-files" :
154 {
155 "extend" : ["common"],
156
157 "copy-files" :
158 {
159 "files" :
160 [
161 "index.html"
162 ],
163 "source" : "${ROOT}",
164 "target" : "${BUILD_PATH}"
165 }
166 },
167
168 "slc-build" :
169 {
170 "run" :
171 [
172 "build-script",
173 "my-build-files",
174 "build-resources"
175 ]
176 },
177
178 "slc-api" :
179 {
180 "extend" : ["apiconf::build"],
181
182 "let" :
183 {
184 "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/component/apiviewer",
185 "BUILD_PATH" : "./target/site/argeo-ria-api/",
186 "API_INCLUDE" : ["${APPLICATION}.*", "${CUSTOM_PACKAGE}.*"]
187 },
188
189 "library" :
190 [
191 {
192 "manifest" : "${ROOT}/Manifest.json",
193 "uri" : ".."
194 },
195 {
196 "manifest" : "${RIA_LIB_PATH}/security/Manifest.json",
197 "uri" : "${RIA_LIB_URI}/security"
198 }
199 ]
200 },
201
202 "slc-test" :
203 {
204 "extend" : ["testrunner::build"],
205
206 "let" :
207 {
208 "TESTRUNNER_ROOT" : "${QOOXDOO_PATH}/component/testrunner",
209 "TEST_INCLUDE" : "${APPLICATION}.test.*",
210 "BUILD_PATH" : "./target/site/argeo-ria-test/"
211 },
212
213 "library" :
214 [
215 {
216 "manifest" : "${ROOT}/Manifest.json",
217 "uri" : ".."
218 }
219 ]
220 }
221
222
223 }
224 }