I’m developing a web application in Java and I’m using several third party JAR files in my lib folder. I also have Subversion as my version control tool.
My question is, while checking in my project files, should I check-in the JAR files also or is it not needed to version the JAR files as I’m not modifying them anyway?
This is a pretty subjective question…I typically apply the following rule of thumb: if I have the code to build a binary, check in the code, and never the binary; if a binary is required to run my code and it comes from an external source, check in the binary.
Note that you’ll want to conform to whatever legal conditions might come along with checking in some third party binary to your repository..