I'd like to create new modules from within a plug-in I'm writing. I got everything to run without any exceptions, I got it to rename some directories (which it shouldn't), I got it log log what it should log, but I didn't get any new module in my project directory or new module files in the filesystem.
I create the module using
, get the modifiable root model of it, do my stuff and finally commit first the root model, then the modifiable module model.
What steps do I need to perform to create new modules? (BTW: I do the same for libraries which works just fine)