Posted November 22, 201410 yr 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!
November 23, 201410 yr Author @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!
November 23, 201410 yr Author Thx! I just realized that i have been in the wrong folder all the time. I already tried really crazy stuff to get things working. 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.