How to create a multi module project setup in IntelliJ 13?

Hello @all,

I have a question about the project setup functionalities of IntelliJ 13.

I am developing on a JEE web application. I can create a project for that web application which is deployed into tomcat server and so on. This is no problem. But I have a second proiect which is used by the wep application project and which is provided as a jar-File.

Now, I need to know how I can create a multi module project for these two projects where every module can have a different source path in the version control system.

At the moment the two described projects exist as Eclipse projects and I want to switch from Eclipse to IntelliJ IDE.

Thanks you.

Kind regards

1 comment
Comment actions Permalink

Hello Patrick,

You need to import this Eclipse project as IDEA module http://www.jetbrains.com/idea/webhelp/creating-a-module-by-importing-existing-sources.html , then associate this module directory with VCS https://www.jetbrains.com/idea/webhelp/associating-a-directory-with-a-specific-version-control-system.html . You can have multiply directories associated with different VCSs in the same project.

If you need to configure dependencies on the module, check Adding dependencies on modules section of this help topic http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html

See also http://confluence.jetbrains.com/display/IntelliJIDEA/IntelliJ+IDEA+for+Eclipse+Users

0

Please sign in to leave a comment.