Missing the point of modules?

Hi there.

I have two code bases which I'm trying to use in the same project, so I set up two modules called main and utilities.

But when I'm working on main, none of the sources seem to be available from the 'utilities' classes.

The only way it can see them, is if I create content roots in the main module, and add the utilities sources in there ....

Am I doing something wrong, or have I misunderstood what modules are for?

Using Build #2239

4 comments
Comment actions Permalink

Am I doing something wrong, or have I misunderstood what modules are for?


How are the sources layed out in the file system?

Tom

0
Comment actions Permalink

Just click the Dependencies tab in the Main module and add the Utilities
module as a dependancy.

"Rayz" <no_mail@jetbrains.com> wrote in message
news:8463213.1094018366058.JavaMail.itn@is.intellij.net...

Hi there.

>

I have two code bases which I'm trying to use in the same project, so I

set up two modules called main and utilities.
>

But when I'm working on main, none of the sources seem to be available

from the 'utilities' classes.
>

The only way it can see them, is if I create content roots in the main

module, and add the utilities sources in there ....
>

Am I doing something wrong, or have I misunderstood what modules are for?

>

Using Build #2239



0
Comment actions Permalink

S'okay ... I was just being a newbie ... :)

I didn't realise you had to set a dependency as well ...

0

Please sign in to leave a comment.