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

Duplicate JAR file as a result of NeoGradle? #182

Closed
Kitteh6660 opened this issue May 19, 2024 · 4 comments · Fixed by #191
Closed

Duplicate JAR file as a result of NeoGradle? #182

Kitteh6660 opened this issue May 19, 2024 · 4 comments · Fixed by #191
Labels
bug Something isn't working eclipse Issues or prs related to the eclipse IDE help wanted Extra attention is needed ide Issues or prs related to IDEs import Issues or prs related to IDE import procedures

Comments

@Kitteh6660
Copy link

Now I don't know what is up with it, but for some reason, when I import NeoForge or refresh Gradle project, there is a tendency for duplicate NeoForge JAR file.

I was using Eclipse if that helps.

image

If needed, I can provide build.gradle files.

@Shadows-of-Fire
Copy link

I've seen this a couple times, typically after manually removing the second jar it never shows back up, though I don't know why it happens in the first place.

@marchermans
Copy link
Contributor

Interesting, yeah the jar exists in two configurations, but it is to the object down even the same dependency, with the same resolution path.

Not sure why eclipse would import it twice

I don't have much hope however in tracking this, since I have not enough experience with eclipse.

@marchermans marchermans added bug Something isn't working help wanted Extra attention is needed eclipse Issues or prs related to the eclipse IDE ide Issues or prs related to IDEs import Issues or prs related to IDE import procedures labels May 19, 2024
@lukebemish
Copy link
Contributor

Just to clarify, what adverse effects does the duplicate jar have in eclipse? Always good to know what issues this actually leads to.

@Kitteh6660
Copy link
Author

It causes build errors, and Eclipse to complain. It may break building.

It sometimes happen when importing NeoForge projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working eclipse Issues or prs related to the eclipse IDE help wanted Extra attention is needed ide Issues or prs related to IDEs import Issues or prs related to IDE import procedures
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants