I have an app that's existed for a long time as a single monolithic project. It's being refactored into a main app plus a series of add-ons that I want to make into separate IDEA projects, each with their own source files, build process, and build output.
However, for technical reasons, the source files for add-ons need to be in directories inside the main app. (The build output for add-ons is just a zip, that when installed, results in the source files being in the same location as I have them in the main project tree.)
The main reason to split this into separate projects is that I'm heading towards open-sourcing the whole thing, and while initially I'll be the primary maintainer of the main project and possibly some specific add-ons, it needs to be possible for add-ons to be created and maintained by members of the user community.
Conceptually, what I want to do is exclude the directory where these add-ons are from the main project, and create new projects for each directory inside there, but as far as I know, IDEA projects can't contain other
I'd need to do the same thing at the VCS level (currently local SVN, will probably switch to Git in order to move it to GitHub), and I suspect nest projects aren't possible there either.
Am I right about the things I think aren't doable? Are there ways to accomplish some equivalents?
Hope this makes sense, ask if anything's not clear, and thanks in advance for any help.