]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/config.json
Set CUSTOM_PERSPECTIVE in config.json / Fix jetty lock bug by using our own webdefaul...
[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 "as" : "appconf"
9 }
10 ],
11
12 "let" :
13 {
14 "APPLICATION" : "org.argeo.slc.web",
15 "QOOXDOO_PATH" : "src/main/webapp/qooxdoo",
16 "QOOXDOO_URI" : "../qooxdoo",
17 "QXTHEME" : "qx.theme.Modern",
18 "QXICONTHEME" : ["Tango"],
19 "API_EXCLUDE" : ["qx.legacy.*"],
20 "LOCALES" : [ "en" ],
21 "ROOT" : "src/main/webapp/",
22 "BUILD_PATH" : "src/main/webapp/build",
23 "CACHE" : "cache" ,
24 "CUSTOM_PERSPECTIVE" : "org.argeo.slc.web.custom.Perspective"
25 },
26
27 "jobs" :
28 {
29 "common" :
30 {
31 "library" :
32 [
33 {
34 "manifest" : "${QOOXDOO_PATH}/Manifest.json",
35 "uri" : "${QOOXDOO_URI}"
36 },
37
38 {
39 "manifest" : "${ROOT}/Manifest.json",
40 "uri" : ".."
41 }
42 ],
43
44 "include" :
45 [
46 "${APPLICATION}.Application",
47 "${CUSTOM_PERSPECTIVE}",
48 "${QXTHEME}"
49 ],
50
51 "cache" :
52 {
53 "compile" : "${CACHE}"
54 },
55
56 "settings" :
57 {
58 "qx.version" : "${QXVERSION}",
59 "qx.theme" : "${QXTHEME}",
60 "qx.application" : "${APPLICATION}.Application",
61 "slc.Perspective": "${CUSTOM_PERSPECTIVE}"
62 }
63 },
64
65 // -- source jobs --------------------------------------------------
66
67 "source-script" :
68 {
69 "extend" : ["common"],
70
71 "compile-source" :
72 {
73 "file" : "${ROOT}/source/script/${APPLICATION}.js",
74 "locales" : "${LOCALES}",
75 "root" : "${ROOT}/source"
76 }
77 },
78
79
80 "slc-source" :
81 {
82 "run" :
83 [
84 "source-script"
85 ]
86 },
87
88 // -- build jobs --------------------------------------------------
89
90 "build-script" :
91 {
92 "extend" : ["common"],
93
94 "variants" :
95 {
96 "qx.debug" : ["off"]
97 },
98
99 "compile-dist" :
100 {
101 "target" : "${BUILD_PATH}",
102 "file" : "${BUILD_PATH}/script/${APPLICATION}.js",
103 "uri" : "script/${APPLICATION}.js",
104 "root" : "${BUILD_PATH}",
105 "format" : "on",
106 "locales" : "${LOCALES}",
107 "optimize" : ["basecalls", "variables", "privates", "strings"]
108 }
109 },
110
111
112 "build-resources":
113 {
114 "extend" : ["common"],
115
116 "copy-resources" :
117 {
118 "target" : "${BUILD_PATH}",
119 "resource-filter" : true
120 }
121 },
122
123 "my-build-files" :
124 {
125 "extend" : ["common"],
126
127 "copy-files" :
128 {
129 "files" :
130 [
131 "index.html"
132 ],
133 "source" : "${ROOT}/source",
134 "target" : "${BUILD_PATH}"
135 }
136 },
137
138 "slc-build" :
139 {
140 "run" :
141 [
142 "build-resources",
143 "build-script",
144 "my-build-files"
145 ]
146 },
147
148 "slc-api" :
149 {
150 "extend" : ["appconf::api"],
151
152 "let" :
153 {
154 "APIVIEWER_ROOT" : "${ROOT}",
155 "BUILD_PATH" : "./api",
156 "API_INCLUDE" : ["${APPLICATION}.*"]
157 },
158
159 "library" :
160 [
161 {
162 "manifest" : "Manifest.json",
163 "uri" : ""
164 }
165 ]
166 }
167
168 }
169 }