Jump to content

Recommended Posts

Posted (edited)

Hi,

I have troubles setting up my workspace in eclipse

I followed the instructions at https://mcforge.readthedocs.io/en/1.14.x/gettingstarted/

but it doesn't work. Did anything changed?

What i did:

-Make a folder on my desktop

-download the mdk.zip from forge

-Put in in the created folder and unpack it

-Start a command in that folder "gradlew genEclipseRuns"

-Open Eclipse

-At this point i'm unsure what to do now

 

 

Edited by winnetrie
Posted (edited)

I would recommend restarting and doing the same thing as in the OP except this time, import the project files first. Then import the gradle tasks in Eclipse. This will give a nice list at the bottom window (Gradle Tasks) which you can use to easily access Gradle functions. And then execute the genEclipseRuns option listed in the bottom window.

Edited by Arnox
Posted

By "import the project files", they mean you should go through "Import Existing Gradle Project" and select the build.gradle / the folder it's in.

That way, it links up to the Gradle Nature and allows you to run the aforementioned commands through Eclipse rather than using the command line.

Posted (edited)
33 minutes ago, Curle said:

By "import the project files", they mean you should go through "Import Existing Gradle Project" and select the build.gradle / the folder it's in.

That way, it links up to the Gradle Nature and allows you to run the aforementioned commands through Eclipse rather than using the command line.

Thank you Curle! I think it is working now, and i have all the libraries now. It's totally different then i was used to

 

Edit i can also see all the commands in the gradle tasks tab, nice!

Edited by winnetrie

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.