Jump to content

Why would forge source disappear from all my Eclipse projects simultaneously?


Recommended Posts

Posted

I was just "happily' working in Eclipse (Neon) and had multiple projects loaded, which is the way I always have worked and suddenly my files started getting red-lined with lots of errors indicating my imports weren't recognized and I looked at the referenced libraries in each project and the no longer had the forgsrc libraries. I thought that maybe Eclipse just got buggy so I restarted Eclipse and also restarted computer, but it did not help.

 

I reran gradlew setupDecompWorkspace and gradlew Eclipse and that fixed the problem. But had to run it on each project (and I've got dozens of them so it was a pain).

 

Why would the referenced libraries get screwed up on all my projects simultaneously? I understand the class path of one project getting screwed up, but all of them?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

I was just "happily' working in Eclipse (Neon) and had multiple projects loaded, which is the way I always have worked and suddenly my files started getting red-lined with lots of errors indicating my imports weren't recognized and I looked at the referenced libraries in each project and the no longer had the forgsrc libraries. I thought that maybe Eclipse just got buggy so I restarted Eclipse and also restarted computer, but it did not help.

 

I reran gradlew setupDecompWorkspace and gradlew Eclipse and that fixed the problem. But had to run it on each project (and I've got dozens of them so it was a pain).

 

Why would the referenced libraries get screwed up on all my projects simultaneously? I understand the class path of one project getting screwed up, but all of them?

Your computer only holds one forge source per version (for obvious reasons), but I don't know what would have caused this error. That at least explains why it would mess up all of them.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

I was just "happily' working in Eclipse (Neon) and had multiple projects loaded, which is the way I always have worked and suddenly my files started getting red-lined with lots of errors indicating my imports weren't recognized and I looked at the referenced libraries in each project and the no longer had the forgsrc libraries. I thought that maybe Eclipse just got buggy so I restarted Eclipse and also restarted computer, but it did not help.

 

I reran gradlew setupDecompWorkspace and gradlew Eclipse and that fixed the problem. But had to run it on each project (and I've got dozens of them so it was a pain).

 

Why would the referenced libraries get screwed up on all my projects simultaneously? I understand the class path of one project getting screwed up, but all of them?

 

Sounds to me like Gradle mucked up for some reason. As Animefan said, there is only one copy of Forge per Forge version, so if that gets deleted somehow all projects will lose access to it. Though I think that would cause single error, something like "<project> could not be built because it is missing referenced library <library>",

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.