Having a Java Project with Multiple src folders?
已回答
Can I have a Java Project with Multiple src folders, with only one program entry-point (main)? Thanks
请先登录再写评论。
Hello Luis,
Yes, it's possible to configure multiple sources root: https://www.jetbrains.com/help/idea/content-roots.html#configure-folders
Hi Yaroslv, that means I can create a jar file for each src, and one for the entire project?
Luis,
Artifact îs built per module, not per source root. If you need several JARs it's better to create nested modules for each one.