small changes, long build time
Alan.Bateman at oracle.com
Mon May 2 06:43:49 UTC 2016
On 02/05/2016 03:14, David Holmes wrote:
> So jlink basically copies what is needed for a given configuration
> into the "image" destination? So where previously this was handled in
> the makefile and only what had changed needed copying, jlink will
> re-copy everything?
Class files and resources go through the linker pipeline. Other types of
types (native libraries, conf files, ...) are copied form the packaged
module (JMOD files) to the appropriate location in the runtime image.
But, yes, there is no incremental update of a runtime image when only
specific files changed, the runtime images are always created when
something changes and you are building images.
More information about the build-dev