clean per module istead of the whole project

Currently Idea allows me to do a clean on rebuild, i don't have 20 or 30 modules per project but i do have 10+.
Idea does not allow you to do a clean build per module but it does allow you to do a clean the build dir upon the rebuild of the entire project.
would it be possible to do a clean build per module?
will sure help us a lot

any thoughts?

cheers,
parthi

4 comments

If you right-click on a module in the project view, there's a "Compile" option.
I think this is what you want.

parthi wrote:

Currently Idea allows me to do a clean on rebuild, i don't have 20 or 30 modules per project but i do have 10+.
Idea does not allow you to do a clean build per module but it does allow you to do a clean the build dir upon the rebuild of the entire project.
would it be possible to do a clean build per module?
will sure help us a lot

any thoughts?

cheers,
parthi

0

I would also like the ability to do a clean rebuild on a single module.

The "Compile 'xxx.java'" action on a single file is not the same thing. It does not
recompile all classes in the module.

The "make module" action is closer, but I don't believe that it cleans out the module's
output folder nor does it recompile all module classes regardless of dependencies.

0

As I said: Right click on the module:
You'll get a context menu item "Compile module 'XYZ'".
It's my understanding that this compiles all classes in the module.

Tim Haley wrote:

I would also like the ability to do a clean rebuild on a single module.

The "Compile 'xxx.java'" action on a single file is not the same
thing. It does not recompile all classes in the module.

The "make module" action is closer, but I don't believe that it cleans
out the module's output folder nor does it recompile all module classes
regardless of dependencies.

0

compile module wont re build the module from the scratch, it merely build the classes and its dependency's, the resources which were copied earlier wont be cleaned up from the output folder and copied again.

a rebuild does it from the scratch it deletes all from the output folder and does a clean rebuild this is what i want not just to compile classes in a module

0

Please sign in to leave a comment.