What exactly is a module and why to use it?

Having used Netbeans ide, I wonder whar exactly is a module and why I should use it in a project.
I have searched the entire site for documentation but I did not find any answer about the use of this very basic component of the IntelliJ IDEA platform.

6 comments
Comment actions Permalink

Hello skiabox,

Actually this is explained in one of the very first pages of the "Concepts"
section:
http://www.jetbrains.com/idea/webhelp/module.html

Having used Netbeans ide, I wonder whar exactly is a module and why I
should use it in a project.

I have searched the entire site for documentation but I did not find
any answer about the use of this very basic component of the IntelliJ
IDEA platform.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

So it is an xml file that describes some things about the project?

0
Comment actions Permalink

Hello skiabox,

A module is a unit of dependency management (a part of your project that
can depend on other parts, and that other parts can depend on; a module can
be independently compiled and packaged). The fact that some information about
a module is stored in an xml file is an implementation detail.

So it is an xml file that describes some things about the project?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Can you give an example on what it can be used?

0
Comment actions Permalink

skiabox wrote:

Can you give an example on what it can be used?


Did you check the link to IJ web help mentioned above?

Regards, Denis


0
Comment actions Permalink

Attached is an image with some screenshots of modules in use with the Logback project open in IDEA.

modules-example.png

0

Please sign in to leave a comment.