]> git.argeo.org Git - gpl/argeo-slc.git/blob - server/org.argeo.slc.ria/doc/config.json
Remove old transition files
[gpl/argeo-slc.git] / server / org.argeo.slc.ria / doc / config.json
1 {
2 "name" : "ria",
3
4 "include" :
5 [
6 {
7 "path" : "src/main/webapp/qooxdoo-0.8-sdk/component/apiviewer/api.json",
8 "as" : "apiconf"
9 },
10 {
11 "path" : "src/main/webapp/qooxdoo-0.8-sdk/component/testrunner/testrunner.json",
12 "as" : "testrunner"
13 }
14 ],
15
16 "let" :
17 {
18 "APPLICATION" : "org.argeo.ria",
19 "QOOXDOO_PATH" : "src/main/webapp/qooxdoo-0.8-sdk/framework",
20 "QOOXDOO_URI" : "../qooxdoo-0.8-sdk/framework",
21 "QXTHEME" : "qx.theme.Modern",
22 "QXICONTHEME" : ["Tango"],
23 "API_EXCLUDE" : ["qx.legacy.*"],
24 "LOCALES" : [ "en" ],
25 "ROOT" : "src/main/webapp/argeo-ria-src",
26 "BUILD_PATH" : "src/main/webapp/argeo-ria",
27 "RIA_LIB_PATH" : "src/main/webapp/argeo-ria-lib",
28 "RIA_LIB_URI" : "../argeo-ria-lib",
29 "CACHE" : "cache" ,
30 "CUSTOM_PERSPECTIVE" : "org.argeo.ria.sample.Perspective"
31 },
32
33 "jobs" :
34 {
35 "common" :
36 {
37 "library" :
38 [
39 {
40 "manifest" : "${QOOXDOO_PATH}/Manifest.json",
41 "uri" : "${QOOXDOO_URI}"
42 },
43 {
44 "manifest" : "${RIA_LIB_PATH}/sample/Manifest.json",
45 "uri" : "${RIA_LIB_URI}/sample"
46 },
47 {
48 "manifest" : "${ROOT}/Manifest.json",
49 "uri" : ".."
50 }
51 ],
52
53 "include" :
54 [
55 "${APPLICATION}.Application",
56 "${CUSTOM_PERSPECTIVE}",
57 "${QXTHEME}"
58 ],
59
60 "cache" :
61 {
62 "compile" : "${CACHE}"
63 },
64
65 "settings" :
66 {
67 "qx.version" : "${QXVERSION}",
68 "qx.theme" : "${QXTHEME}",
69 "qx.application" : "${APPLICATION}.Application",
70 "ria.Perspective": "${CUSTOM_PERSPECTIVE}"
71 }
72 },
73
74 // -- source jobs --------------------------------------------------
75
76 "source-script" :
77 {
78 "extend" : ["common"],
79
80 "compile-source" :
81 {
82 "file" : "${ROOT}/script/${APPLICATION}.js",
83 "locales" : "${LOCALES}",
84 "root" : "${ROOT}"
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 "target" : "${BUILD_PATH}",
111 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
112 "uri" : "script/${APPLICATION}.js",
113 "root" : "${BUILD_PATH}",
114 "format" : "on",
115 "locales" : "${LOCALES}",
116 "optimize" : ["basecalls", "variables", "privates", "strings"]
117 }
118 },
119
120
121 "build-resources":
122 {
123 "extend" : ["common"],
124
125 "copy-resources" :
126 {
127 "target" : "${BUILD_PATH}",
128 "resource-filter" : true
129 }
130 },
131
132 "my-build-files" :
133 {
134 "extend" : ["common"],
135
136 "copy-files" :
137 {
138 "files" :
139 [
140 "index.html"
141 ],
142 "source" : "${ROOT}",
143 "target" : "${BUILD_PATH}"
144 }
145 },
146
147 "slc-build" :
148 {
149 "run" :
150 [
151 "build-resources",
152 "build-script",
153 "my-build-files"
154 ]
155 },
156
157 "slc-api" :
158 {
159 "extend" : ["apiconf::build"],
160
161 "let" :
162 {
163 "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/../component/apiviewer",
164 "BUILD_PATH" : "./target/site/argeo-ria-api/",
165 "API_INCLUDE" : ["${APPLICATION}.*", "${CUSTOM_PERSPECTIVE}"]
166 },
167
168 "library" :
169 [
170 {
171 "manifest" : "${ROOT}/Manifest.json",
172 "uri" : ".."
173 },
174 {
175 "manifest" : "${RIA_LIB_PATH}/sample/Manifest.json",
176 "uri" : "${RIA_LIB_URI}/sample"
177 }
178 ]
179 },
180
181 "slc-test" :
182 {
183 "extend" : ["testrunner::build"],
184
185 "let" :
186 {
187 "TESTRUNNER_ROOT" : "${QOOXDOO_PATH}/../component/testrunner",
188 "TEST_INCLUDE" : "${APPLICATION}.test.*",
189 "BUILD_PATH" : "./target/site/argeo-ria-test/"
190 },
191
192 "library" :
193 [
194 {
195 "manifest" : "${ROOT}/Manifest.json",
196 "uri" : ".."
197 }
198 ]
199 }
200
201
202 }
203 }