summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-01-22 16:39:12 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-02-21 14:11:51 +0100
commit246bc3f3eaccf2a84310df84dc85fe455c24ac65 (patch)
tree9a44f8e316947f8c1648f18f5da41db9c5c0e891 /install
parent75eee33ed917f654cc8cd5ed9e20d63903bffb25 (diff)
downloadfreeipa-246bc3f3eaccf2a84310df84dc85fe455c24ac65.tar.gz
freeipa-246bc3f3eaccf2a84310df84dc85fe455c24ac65.tar.xz
freeipa-246bc3f3eaccf2a84310df84dc85fe455c24ac65.zip
Web UI build profile updated
freeipa.profile was updated accordingly to contain all modules in dojo layer. This change removes expected errors during the build and therefore it won't confuse others during rpm build. It also helps during development because developer will notice real dependency errors (those not specified this way).
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/webui.profile.js55
1 files changed, 50 insertions, 5 deletions
diff --git a/install/ui/src/webui.profile.js b/install/ui/src/webui.profile.js
index ad24b5b97..3a53bd0f5 100644
--- a/install/ui/src/webui.profile.js
+++ b/install/ui/src/webui.profile.js
@@ -54,14 +54,59 @@ var profile = (function(){
async: 1
},
- // Dojo package and layer is not included to not pollute release dir.
- // It will raise some dependency errors. #TODO:update builder to be
- // able to specify dependencies to ignore
-
packages:[
{
name: "freeipa",
- location: "freeipa"
+ location: "freeipa",
+ providedMids: [
+ // all modules in our dojo build
+ // basically sorted layer content obtained from build report
+ 'dojo/_base/array',
+ 'dojo/_base/config',
+ 'dojo/_base/connect',
+ 'dojo/_base/declare',
+ 'dojo/_base/Deferred',
+ 'dojo/_base/event',
+ 'dojo/_base/kernel',
+ 'dojo/_base/lang',
+ 'dojo/_base/sniff',
+ 'dojo/_base/window',
+ 'dojo/aspect',
+ 'dojo/Deferred',
+ 'dojo/dojo',
+ 'dojo/dom',
+ 'dojo/dom-attr',
+ 'dojo/dom-class',
+ 'dojo/dom-construct',
+ 'dojo/dom-geometry',
+ 'dojo/dom-prop',
+ 'dojo/dom-style',
+ 'dojo/domReady',
+ 'dojo/errors/CancelError',
+ 'dojo/errors/create',
+ 'dojo/Evented',
+ 'dojo/has',
+ 'dojo/hash',
+ 'dojo/io-query',
+ 'dojo/keys',
+ 'dojo/mouse',
+ 'dojo/on',
+ 'dojo/promise/instrumentation',
+ 'dojo/promise/Promise',
+ 'dojo/promise/tracer',
+ 'dojo/ready',
+ 'dojo/router',
+ 'dojo/router/RouterBase',
+ 'dojo/sniff',
+ 'dojo/Stateful',
+ 'dojo/store/Memory',
+ 'dojo/store/Observable',
+ 'dojo/store/util/QueryResults',
+ 'dojo/store/util/SimpleQueryEngine',
+ 'dojo/topic',
+ 'dojo/when',
+ 'dojo/domReady!' //added with '!' as a loader plugin
+ ]
}
],