Using modules for code splitting
Hi, I'm trying to reorganize my codebase into client, server and shared code. The code is all under the same src/ directory. I'd like to create client and server modules that I can run separately with different classpaths but I can't create modules using the same context root or sharing the same code (i.e. the shared/ directory). I don't really want to create separate modules and source trees for client, server and shared code. Are there any suggestions on how to set this up in IntelliJ?
Please sign in to leave a comment.
Hello Curtis,
The only way to tell IntelliJ IDEA (or, as far as I know, any other IDE or
build tool) which part of your code is a client module and which is a server
module is to put them into different source trees.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"