Multi Module Madness...

When setting up my project to run with multiple modules, I have a few files, such as my ant root build file, that sit right up at the top level of the tree, above any of the modules.

This means that editing that file isn't recognized by idea when it comes to updating my project in version control (cvs in my case). To work around this, I'm forced (unless someone tells me otherwise) to create a dummy module that excludes all my modules but includes my root directory that contains the build file (and other miscellaneous files).

This seems like a horrible hack on my part, but I'm not sure what else I can do.

Also, our project has nested modules. Is this supported in any form in idea. My Server module has subModules such as LogManager. At the moment I am only able to recognize the server as being the parent directory by naming my sub-modules serverLogManager and so forth. As my server module only contains other modules and a build file, I'm faced with the same quandary regarding creating a dummy project for the Server module in order for idea to recognize the build file held at that level. The same problem exists for me in our Tools directory.

Assuming there isn't something that I'm missing (please tell me if I am), I propose that files be able to be added to projects even if they're outside any of the modules.

I would also like to see support for nested modules, but that's substantially more complex and I'm not sure whether the added complexity to the UI would justify the functionality.

what say you, good people?

9 comments
Comment actions Permalink

includes my root directory that contains the build file (and other miscellaneous files).


I'm using the same hack for accessing files on the
toplevel directory.

It is an awful,awful hack...





0
Comment actions Permalink

Same problem here. My project files are in the project directories,
above the modules.

Michael Damberger wrote:

>>includes my root directory that contains the build file (and other miscellaneous files).
>>
>>
>
>I'm using the same hack for accessing files on the
>toplevel directory.
>
>It is an awful,awful hack...
>
>
>
>
>
>

>

0
Comment actions Permalink

I have to do the same for my J2EE modules. Sometimes there are a couple of properly files in that directory that I need to update via CVS. In order to do this I had to create a dummy java module to that so that I can update the files in that directory.

0
Comment actions Permalink

what do you guys at jetbrains think of this? I've submitted a feature request but I know those things often disappear into the ether.

Is this a doable feature?

I still like the idea of nested modules too, as that would allow my project structure in idea to mirror my directory structure.

0
Comment actions Permalink

I just wanted to second, or third or fourth the motion :)

Our project also contains a module that is only present in
order for idea to recognize some files not in any of the
actual module directories (ant properties, etc.)

Bonny

0
Comment actions Permalink

Ditto! it'd be nice to have a 'project root' view where you can view everything under your project that isn't in a particular module.

Speaking of modules, is anyone else driven completely insane by the fact that when you go to settings -> paths, the last selected module isn't remembered, and the top one is always selected. Same applies to the current selected tab within a particular path.

0
Comment actions Permalink

Speaking of modules, is anyone else driven completely insane by the fact that when you go to settings -> paths, the last selected module isn't remembered, and the top one is always selected.


Yes, me! It's very annoying. I've already butsted some module settings
because I didn't take care of it.

0
Comment actions Permalink

Speaking of modules, is anyone else driven completely insane by the fact that when you go to settings -> paths, the last selected module isn't remembered


Yes, this is very annoying. Another option would be to preselect the
module of the current opened file, if any.

Tom

0
Comment actions Permalink

Very annoying. The project that I have been on for the last 3 months
has 3 modules. The only module I am directly responsible for is the
last and is NEVER selected. Argh.

Hani Suleiman wrote:

>Ditto! it'd be nice to have a 'project root' view where you can view everything under your project that isn't in a particular module.
>
>Speaking of modules, is anyone else driven completely insane by the fact that when you go to settings -> paths, the last selected module isn't remembered, and the top one is always selected. Same applies to the current selected tab within a particular path.
>

>

0

Please sign in to leave a comment.