Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Eclipse wont open the minecraft project.
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
_Bobobot_

Eclipse wont open the minecraft project.

By _Bobobot_, January 2, 2015 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I installed forge following these instructions:

 

http://www.minecraftforge.net/wiki/Installation/Source

 

However, when I open eclipse, and point the workspace folder to "forge-1.7.10-10.13.2.1277-src\eclipse", I only see this:

 

GC0ctu0.png

 

The \eclipse folder only contains a .metadata folder, which then contains these files:

 

2mDg09p.png

 

After trying to do a troubleshoot myself, I found out that the whole forge folder does not contain any of the decompiled minecraft files. After searching a bit, I found them in a tmp folder which suggests to me that those files were only meant to be temporary.

 

In the folder "forge-1.7.10-10.13.2.1277-src\build\tmp\expandedArchives" I found these two folders, which then contained the source files of minecraft (at least I think they did).

 

 

So my idea is that gradlew can not copy those files to the right place, or something similar. I'm not an expert in this, so it is of course possible that I'm completely wrong.

 

Could anyone help me please?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted January 2, 2015

The decompiled minecraft files do not end up in your forge directory, they are stored in the central gradle cache so they can be shared across different workspaces.

If you followed the steps exactly (do not delete anything from the extracted download, run gradlew eclipse) then this will not happen.

 

Edit: Just tried it out, it works just fine.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I'm not sure what I did wrong then. Let my write down the steps I went through.

 

I downloaded the 1.7.10 latest src from here: http://files.minecraftforge.net/

 

After that, I extracted the downloaded package, went into the extracted folder, and opened a command prompt there.

 

Then, I wrote in "gradlew setupDecompWorkspace --refresh-dependencies", and after it completed, I typed in "gradlew eclipse".

 

After that, I opened eclipse, pointed the workspace to the eclipse folder in the extracted forge folder, and then I got that error.

 

Am I doing something wrong?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted January 2, 2015

No, nothing wrong just some redundancy. All you need is

gradlew setupDecompWorkspace eclipse

.

If the commands completed without error all I can say is: try again.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I tried it again and again countless times, still no luck.

 

The weird thing is, that the wiki say the process might take up to 10 minutes, but for me it only takes about half a minute.

 

This is how my cmd window looks after running the command you suggested:

 

8yHtcNM.png

 

It say SKIPPED for a lot of things, that might be a problem, I'm not sure.

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted January 2, 2015

The SKIPPED is normal and is actually a feature. When gradle has done a task already in the past, it does not need to do it again in the future, making the process faster.

 

The problem here is probably your username (or rather the file path). Choose a path that does not contain non-ascii characters.

  • Quote

Share this post


Link to post
Share on other sites

_Bobobot_    0

_Bobobot_

_Bobobot_    0

  • Tree Puncher
  • _Bobobot_
  • Members
  • 0
  • 4 posts
Posted January 2, 2015

I changed the path and it solved my problem.

 

Thank you! :)

  • Quote

Share this post


Link to post
Share on other sites

ThaWeeDope    0

ThaWeeDope

ThaWeeDope    0

  • Tree Puncher
  • ThaWeeDope
  • Members
  • 0
  • 2 posts
Posted March 19, 2015

How to change path???

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7614

diesieben07

diesieben07    7614

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7614
  • 55193 posts
Posted March 19, 2015

You choose a different folder...

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • AzizD
      [1.16.4] Custom item enchantability

      By AzizD · Posted 4 minutes ago

      @Override public boolean canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) { if(enchantment == Enchantments.SHARPNESS) { enchantment.canApply(stack); } return true; } I changed with this but same error.
    • elliotfoxk
      1.16.5 Modpack "Missing License Information"

      By elliotfoxk · Posted 5 minutes ago

      Not exactly sure what this means, could someone explain how to fix in simple terms?
    • AzizD
      [1.16.4] Custom item enchantability

      By AzizD · Posted 11 minutes ago

      @Override public boolean canApplyAtEnchantingTable(ItemStack stack, Enchantment enchantment) { enchantment = Enchantments.SHARPNESS; return enchantment.canApply(stack.getItem().getDefaultInstance()); } I tried to override this method. Whenever i put the item in the enchantment table game crashes with java.lang.StackOverflowError.
    • DaemonUmbra
      Error When Joining My Modded Forge Server

      By DaemonUmbra · Posted 31 minutes ago

      Please provide debug.log (more info on where it is and how to provide it in my signature below, just expand the spoiler)
    • DaemonUmbra
      World corruption (probably messing up with ID)

      By DaemonUmbra · Posted 31 minutes ago

      1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  • Topics

    • elliotfoxk
      0
      1.16.5 Modpack "Missing License Information"

      By elliotfoxk
      Started Just now

    • AzizD
      2
      [1.16.4] Custom item enchantability

      By AzizD
      Started 2 hours ago

    • Frosty_63
      1
      Error When Joining My Modded Forge Server

      By Frosty_63
      Started 1 hour ago

    • Dr_Sang
      1
      World corruption (probably messing up with ID)

      By Dr_Sang
      Started 2 hours ago

    • Giligameshh
      1
      Create mod keeps crashing

      By Giligameshh
      Started 4 hours ago

  • Who's Online (See full list)

    • elliotfoxk
    • Hibeter
    • olebroetje
    • gabicaBR
    • Arthurmeade12
    • AzizD
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Eclipse wont open the minecraft project.
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community