Jump to content

[1.7.2] Add other mods to build path (Eclipse)


xypista

Recommended Posts

Hi,

 

I'm trying to add IronChests2 sources to my Build Path, but it gives this error:

Invalid project description.
OK
D:\DEV\minecraft\forge-1.7.2-10.12.1.1075-src overlaps the workspace location:
D:\DEV\minecraft\forge-1.7.2-10.12.1.1075-src\eclipse

 

I used

gradlew setupDevWorkspace eclipse

on both forge and ironchest sources.

What am I doing wrong?

Link to comment
Share on other sites

Each mod should be its own separate folder, completely independent of your other mods. See Lex's

on multi-project workspaces.

 

If you are trying to use a second mod as a resource in your first mod, as an add-on or something, then you don't need to set it up at all - simply place the mod jar in your /eclipse/mods/ folder, then add it as a referenced library; you will then be able to import the mod's classes and such, though to build your project you will need to edit the build.gradle file to include the referenced mod files.

Link to comment
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.
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.