Can't share Java - libGDX project on Github

67 Replies
JavaBot
JavaBotOP3y ago
This post has been reserved for your question.
Hey @KreuZz! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st3y ago
which files are missing? and which errors do you get?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Can you show what exactly it looks like?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
check core in the bottom list Are there any files in it?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
maybe try reimporting the projects?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
maybe select the src.gdx.game and refresh it
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
don't care about the working tree Can you show the Git Staging view?
dan1st
dan1st3y ago
that thing
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
the path you censored here - is it the actual path to your project?
No description
dan1st
dan1st3y ago
you mean Team>Share project?
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
First delete the repository from the Git Repositories view (and make a backup of your files before that, just to be sure)
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
then add it again using Team>Share Project from the package explorer and tell me what happens next
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
yes this one
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
select that checkbox
No description
dan1st
dan1st3y ago
then the view should change
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Now check the Git Staging view again
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Yeah, you can commit from that view although you probably don't have a remote set up so pushing would likely not work (yet)
dan1st
dan1st3y ago
You can create a remote from the Git Repositories tab
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
? it should be there once you pushed it How are you running it?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Can you try right-clicking on your Java file and selecting Run As>Java application?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Which OS are you using?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
seems like Windows as I saw a \ in the paths you censored yeah so try clicking on the gdx package in src and then pressing Ctrl+Alt+T this should open your terminal
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
package explorer
dan1st
dan1st3y ago
the gdx package here
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
If you enter the command dir, it should display files in that package What does it show you?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
seems like it maybe try clicking on src and then pressing Ctrl+Alt+T?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
You don't have to use Eclipse for opening your terminal you just need to get a terminal (or explorer works as well) in the project directory
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Are these different desktop directories?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Which of them is where you have your Eclipse project?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
in that dialog, did you select the checkbox?
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
? Can you copy the files over from the git repository to the Eclipse project?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
the Java files, maybe images and other important files that are missing
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
? I meant copying the files to the actual source folder
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
for example you could also drag them into Eclipse if you prefer that
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
If you add a file in the source folder, does it appear in the Git Staging view?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dan1st
dan1st3y ago
Why do you want to run it from git? what's the difference? Normally, these shouldn't be different repositories well, there's also another option you could create the repository outside of Eclipse using git init from your terminal and then add it using Team>Share Project
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
JavaBot
JavaBotOP3y ago
Post Closed
This post has been closed by <@191568294673776640>.

Did you find this page helpful?