In a Spark-Only 4.5 project using RSLs Swiz has missing dependency

Description

I'm not using Flex modules at all, but swiz is trying to bring in mx.modules.Module dependency. If I choose Spark+MX in FB, then it works. If I choose Spark-Only, then it fails with:

ReferenceError: Error #1065: Variable mx.modules::Module is not defined.
at org.swizframework.utils:omainUtil$/getModuleDomain()/projects/swiz-framework/src/org/swizframework/utils/DomainUtil.as:54
at org.swizframework.core.mxml::Swiz/handleContainerPreinitialize()/projects/swiz-framework/src/org/swizframework/core/mxml/Swiz.as:73
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
at mx.core::UIComponent/initialize()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\UIComponent.as:7614]
at spark.components::Application/initialize()[E:\dev\hero_private\frameworks\projects\spark\src\spark\components\Application.as:1259]
at MileTrack/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:3063]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2849]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders:reloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

I don't think Swiz should be pulling in this dependency unless I'm using Modules in my Application.

Environment

All

Status

Assignee

ChrisC

Reporter

Andrew Westberg

Labels

None

Fix versions

Affects versions

Priority

Minor
Configure