
Rebuild can only be performed at the project level (so, "No" to answer your question about a module rebuild). So unlike make, it deletes all previous compiled objects.
#Runjs vs make full#

If you compile module "GUI" which has a dependency on module "API", only GUI is complied. a clean compile) this includes unmodified classes within the scope. Compile always compiles everything in the scope (i.e. If Bar was previous compiled, but has changed, and you again only compile Foo, it uses the old compiled version and does not recompile the changed Bar class. So if Foo has a dependency on Bar, and Bar was not previously compiled, and you go to compile Foo only, the compilation fails. It does not transitively compile dependencies. So you can, for example, compile just a single class or a package (or, of course, a module). Compile - this just complies the files in the specified scope.I'm not sure where you are seeing "Build", unless you are referring to"Build Artifact". or?Īre build and rebuild exactly the same things? Somehow my autogenerated ant scripts are getting scrambled. I understand this distinction in a general way, but what exactly is the story here? am I able to define two different build profiles, one for testing, one for production? I dont see any config panel for all thatĪnd, must have set up my output configs incorrectly because when I use rebuild project, I get one folder per module, no production/testing dirs is there a "rebuild module" command? dont see oneĪnother question: from the docs and looking at the autogenerated ant scripts, intellij by default creates two subdirectories for each module: testing and production. but sometimes I do want to rebuild, not just make, that module. so I disable compilation on that one, to save time during each test run.

I have a multi-module project in which one module is constantly changing, and one changes almost never.

true?Īre build and rebuild exactly the same things? are make and compile exactly the same things? So, the way I understand it, when it comes to compilation,there's conditional, and there's clean: confitional compilation only rewrites files that have changed, clean compilation blows them all away and starts freshīuild and rebuild and are clean, and make and compile are conditional.
