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

fix: overwrite at in target jar. #267

Closed
wants to merge 2 commits into from

Conversation

qyl27
Copy link

@qyl27 qyl27 commented Jan 27, 2025

In all projects with arch loom 1.9, the remapJar will fail due to this exception if you didn't clean before the build.
The at already exists comes from the common project (shadow bundle), we can just ignore and delete it.

@Juuxel
Copy link
Member

Juuxel commented Mar 4, 2025

The AT definitely should not come from the common project (if it does, the error message is correct). It actually comes from the previous build of the project since the old jar contents weren't deleted in 1.9 (FabricMC#1270).

I've just committed a fix for that bug which also takes care of this one. Thanks for the PR in any case - the underlying issue is definitely a hard one to find.

@Juuxel Juuxel closed this Mar 4, 2025
@qyl27 qyl27 deleted the fix/at-exists branch March 5, 2025 00:52
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.

2 participants