Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Use generic early output file name #7830

Merged
merged 3 commits into from
Oct 28, 2024

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

build.sbt Outdated Show resolved Hide resolved
@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
@eed3si9n eed3si9n merged commit 4e15180 into sbt:1.10.x Oct 28, 2024
10 checks passed
@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