0

I am pretty new to GitHub.

This is my problem: We (4 people) are working on a Java project. Two of us are using NetBeans and two of us are using Eclipse. Let`s say 1 person created a project from Eclipse and pushed the project into the repository. Now, I want to clone the repository and work on the project. I can successfully clone the project and I can see all the files that we have in the repository. However, I cannot run the project. In fact, when I am cloning the project, NetBeans asks me for creating a new project. I do not want to create a new project but I want to work on the same project that I am able to run it.

What is solution?

1 Answer 1

1

I recommend to commit the Eclipse project meta-files (.project, .classpath and may be the .settings directory) and the NetBeans project meta-files (I don't know the corresponding meta-file names for NetBeans).

From your problem description it seems the NetBeans project meta-files are missing in the github repository. Hence, NetBeans doesn't recognize the cloned repository as a project.

See also: Which NetBeans projects files should go into source control?.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.