If I create a new Java project through Netbeans, it has this structure:
- build
- dist
- src
- build.xml
- manifest.mf
My question is, do I need to put build and dist under version control? Or will just putting src, build.xml, and manifest.mf be sufficient?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
just src, build.xml and manifest.mf should be enough. The dist and build should be built by whatever you are using to build. (maven, NetBean etc)
If you commit the dist and build then you are duplicating your code. The src, build.xml and manifest.mf detail the human readable parts of the project. The build and dis are the machine converted parts of it.