Sunday, December 1, 2013

Difference between compile and build process


For any Eclipse based IDE's one might be aware of terms like Build and Compile and they do resembles almost similar functionality. However, there are are some differences among both of them.

"Compile" units of code, but you "build" solutions -- which might involve compiling code, assembling resources, packaging deployment scripts
The "compile" command checks to see which files have been modified by looking at the create dates for the unit files, and then updates those. "Build" just goes ahead and re-compiles the whole thing without checking.

There is also the Incremental Build, which do not perform complete build instead will look for the earlier generated rcode (resultant file after compiling an ABL file) and generates rcode basing on this incremental to that. i.e, unlike a full build process it will just compile the delta files and generate rcode for the same.