jabelar Posted September 19, 2016 Posted September 19, 2016 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? Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Animefan8888 Posted September 19, 2016 Posted September 19, 2016 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. Quote 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.
Leviathan143 Posted September 19, 2016 Posted September 19, 2016 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>", Quote
jabelar Posted September 19, 2016 Author Posted September 19, 2016 Okay, I guess that makes sense. It wasn't too hard to fix, but I really don't think I did anything that should have caused it but maybe some keyboard shortcut or something was inadvertently pressed. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Recommended Posts
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.