Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Friendseeker
Copy link
Member

@Friendseeker Friendseeker commented Oct 25, 2024

Issue

While analysis is stored as inc_compile.zip, early output has elaborate file name such as project_3-0.1.0-SNAPSHOT.jar. Since the file name contains version, as a result for user with GitVersioning plugin, the version changes every commit therefore due to file name mismatch Zinc forces full recompilation.

Solution

Use a generic filename. Since inc_compile.zip did not seem to have caused any problem, this PR changes early output file name to early.jar.

Closes #7767

@Friendseeker Friendseeker changed the title [1.x] Use generic early output file name to avoid [1.x] Use generic early output file name to avoid full invalidation Oct 25, 2024
@Friendseeker Friendseeker changed the title [1.x] Use generic early output file name to avoid full invalidation [1.x] Use generic early output file name Oct 25, 2024
@Friendseeker Friendseeker force-pushed the remove-early-output-version branch from 749bc8f to 4beb78b Compare October 26, 2024 23:24
@eed3si9n eed3si9n merged commit 4e15180 into sbt:1.10.x Oct 28, 2024
@eed3si9n eed3si9n added this to the 1.10.4 milestone Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

usePipelining prevents incremental compilation from working when version is changed

2 participants