yiic shell to create a nested submodule?

How can you use yiic shell to create a nested submodule?

to create the 1st module

module test1

to create the sub module

module test1\test2

or possibly

modules test1\modules\test2

doesn’t seem to work properly because the framework is looking for the “test2” module in ./protected/modules/test1/modules/test2/Test2Module.php

neither method creates the structure properly

dont know, if there is a simpler way

>>module test

>>module subtest

copy subtest-folder to test/modules

register subtest module to TestModule.php (init-Method)




$this->setModules(array('subtest'));