Is the output of Eclipse's incremental java compiler used in production? Or is it simply to support Eclipse's features?

Posted by Doug T. on Programmers See other posts from Programmers or by Doug T.
Published on 2012-11-26T17:37:28Z Indexed on 2012/11/26 23:23 UTC
Read the original article Hit count: 327

Filed under:
|
|

I'm new to Java and Eclipse. One of my most recent discoveries was how Eclipse comes shipped with its own java compiler (ejc) for doing incremental builds. Eclipse seems to by default output incrementally built class files to the projRoot/bin folder.

I've noticed too that many projects come with ant files to build the project that uses the java compiler built into the system for doing the production builds.

Coming from a Windows/Visual Studio world where Visual Studio is invoking the compiler for both production and debugging, I'm used to the IDE having a more intimate relationship with the command-line compiler. I'm used to the project being the make file. So my mental model is a little off.

Is whats produced by Eclipse ever used in production? Or is it typically only used to support Eclipse's features (ie its intellisense/incremental building/etc)? Is it typical that for the final "release" build of a project, that ant, maven, or another tool is used to do the full build from the command line?

Mostly I'm looking for the general convention in the Eclipse/Java community. I realize that there may be some outliers out there who DO use ecj in production, but is this generally frowned upon? Or is this normal/accepted practice?

© Programmers or respective owner

Related posts about java

Related posts about compilers