Jump to content

[SOLVED] 1.7.10 and 1.8 problems uploading my project to github


Recommended Posts

Posted

I just tried to upload my new modding project to github.

After a few tries i got everything working.

I used gradlew setupDevWorkspace and gradlew  eclipse and imported everything in eclipse.

Then i created a new github rep, shared my project via egit(an eclipse plugin, i already configured my personnel data), pushed it to my new rep, and its ONLINE!

 

I can write code, upload it, open the lang files and pngs, BUT i can't open the minecraft and fml classes. Whenever i try to open them it tells me that that i have to append a source first.

 

I already tried to run gradlew again, still not working. Any ideas how to solve this?

 

Here could be your advertisement!

Posted

@diesieben07 i know, thats what i tried. But it didn't work until i refreshed dependencies... I already had this problem 1 year ago

 

Ok, i tried around a lot with Github today and apparently my approach to get it online is completely wrong. It always adds the gradle folders to the index so that whenever someone commits changes everyone else has to reinstall gradle....

 

So now i came up with a new idea: what if i create a project with only a .project file, a src/main/java, src/main/resources and a .gitignore file that looks like this:

*

!/src
!/build.gradle
!/eula.txt
!/.gitignore
!/.project

 

I uploaded my project to github, deleted it locally, redownloaded it, copied forge in the downloaded folder, installed it and opened eclipse. Perfect, everything in place and only my code is synced.

 

BUT i am missing the classpath file. (Its used for arranging packets and managing Libraries)

Can someone please tell me where i can find it or how i can tell eclipse to generate one?

 

 

EDIT:

Ah, forgot the link:

https://github.com/Jacky2611/AlchemisticArts

sry, i am really tired.

btw, can someone suggest a better name? its a mod about magic, crafting, brewing i am creating with a few friends.

Here could be your advertisement!

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.