From 246bc3f3eaccf2a84310df84dc85fe455c24ac65 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 22 Jan 2013 16:39:12 +0100 Subject: 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). --- install/ui/src/webui.profile.js | 55 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 5 deletions(-) (limited to 'install/ui') 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 + ] } ], -- cgit