Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are you supposed to check-in R.java file in to VCS?

Very basic question. I plan to do our builds via Hudson and have android apk files available for download there. Is R.java in the /gen directory something that you check-in with you VCS? Or is it something that needs to be ignored and android sdk will generate every time if it doesn't exist?

like image 910
Amir Raminfar Avatar asked Nov 04 '10 16:11

Amir Raminfar


2 Answers

The entire gen folder is automatically generated and shouldn't be checked into VCS.

like image 149
kichik Avatar answered Sep 24 '22 12:09

kichik


Nothing in gen should go into your repository. Add gen to your .gitignore to avoid mistakes/cluttered git status.

like image 40
Robert Avatar answered Sep 22 '22 12:09

Robert