My problem currently is that I’ve got a project on bitbucket, and I’ve been able to create a local repository of the project through Eclipse.
However, when attempting to import the repository into Eclipse to run the project I come up against a couple of issues.
-
Create a new project from the git repository.
This does create a new project and links it to the local repo, but I’m not able to run is as a java project. The reason being that all of the options under the ‘run configurations’ are blank. And Eclipse doesn’t recognise the project as a project at all. -
Create a java project first, and link it to the repo such that I can
do push and pull to the repo. No idea how.
Any help would be hugely appreciated.
For option 1/, it could be as simple as to add the Java Nature to your current project (as seen also here).
Regarding the option 2/, you could create your java project, and then:
Team-> Share-> Git(and select your Git repo location), in order to mention to Eclipse that this project is managed by Git.