Configuration for Large Projects

(Sorry, I posted this in the J2EE EAP section, I meant for it to be here)

I was hoping that the new project format might make it easier to manage large projects with many modules -- but it appears there is still some limits. I really apprecaite the ability to attach a source to a jar (pretty much the same to me as a library-specific module).

However, I'd like to see the project files support one extra level beyond this in order to make it possible for me to not have to keep several projects open or switch between them (both causes massive amount of swapping and slows me down).

I have a project that requires 4 servers to be running and has the following structure:

project
- app
- platform
- graph
- index

In each of these sub directories there is:

- build/java (src output)
- build/test (test output)
- src
- test
- lib
- build.xml

Each module is compiled/tested/run from it's own build.xml -- they are not dependant on each other. Each module has it's OWN sources, tests, and most important, libraries and output directories.

So individually each module works fine as it's own IDEA project. But switching between them is painfully slow. Now, with the new configuration system I can almost do what I want. I created four content directories and set up four source/test directories. However, the libraries are still global to all sources and there is only one place to output compiled sources and tests. I feel this is a major limitation and I hope it can be addressed before Aurora is finished. Are there any plans to do this? Does anyone else agree? Am I "using IDEA wrong"?

Thanks!

-Pat

4 comments
Comment actions Permalink

I see that multiple output paths are going to be put back in soon, which is great. I just hope that there is a way to associate jars to certain sources.

0
Comment actions Permalink

The thing actually missing now is ability to create four modules, not for contents. As soon as multimodule UI will be avaliable you'll create four modules with one content each and you're done.

Luck!
Maxim Shafirov

0
Comment actions Permalink

Our environment is similar expect the applications /do/ have some
depedencies. Several of the projects export an api that used by others.
And all use a common set of infrastructure. So in this case we
definately want an idea project that contains all the code to ensure
that we don't leave refactoring turds. But at the same time, I want to
define each of our applications as a module and be able to compose those
modules into an appropriate project.

So far, from what I've been reading, it seems like this is where the
module system is going.


Pat Lightbody wrote:

(Sorry, I posted this in the J2EE EAP section, I meant for it to be here)

I was hoping that the new project format might make it easier to manage large projects with many modules -- but it appears there is still some limits. I really apprecaite the ability to attach a source to a jar (pretty much the same to me as a library-specific module).

However, I'd like to see the project files support one extra level beyond this in order to make it possible for me to not have to keep several projects open or switch between them (both causes massive amount of swapping and slows me down).

I have a project that requires 4 servers to be running and has the following structure:

project
- app
- platform
- graph
- index

In each of these sub directories there is:

- build/java (src output)
- build/test (test output)
- src
- test
- lib
- build.xml

Each module is compiled/tested/run from it's own build.xml -- they are not dependant on each other. Each module has it's OWN sources, tests, and most important, libraries and output directories.

So individually each module works fine as it's own IDEA project. But switching between them is painfully slow. Now, with the new configuration system I can almost do what I want. I created four content directories and set up four source/test directories. However, the libraries are still global to all sources and there is only one place to output compiled sources and tests. I feel this is a major limitation and I hope it can be addressed before Aurora is finished. Are there any plans to do this? Does anyone else agree? Am I "using IDEA wrong"?

Thanks!

-Pat


0
Comment actions Permalink

Great! But when will that be available (approximately)?

Maxim Shafirov wrote:

The thing actually missing now is ability to create four modules, not for contents. As soon as multimodule UI
will be avaliable you'll create four modules with one content each and you're done.


0

Please sign in to leave a comment.