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