I had a project setup like this in Adobe Flash Builder: (tried to illustrate it the best I could)
Basically, GameProj and TitleProj are compiled down to their own SWFs. They each have their own specific source-folder (src-nameofproject), as well as link to a common one used by the LoaderProj.
In addition, GameProj also refers to some classes in TitleProj, so it also links a source-path to Title's own source-folder (src-title, in this case).
Then, the LoaderProj is setup so that it "embeds" the gameproj.swf and titleproj.swf as ByteArrays, which it loads at runtime (with Loader.loadBytes()
)
But now I'm wondering how can I setup this complex multi-project scenario in IntelliJ IDEA?
I tried importing the Flash Builder workspace into IntelliJ, but when I try to configure the Project Structures settings, it keeps telling me there's conflicts of source folders between the modules.
How can I get around that? How can I compile it the same way?