46Storing Third-Party Code

Most third-party libraries are distributed in binary format, usually as a .dll or .jar file that you can link directly into your project. Some vendors provide source code in addition to binaries, and it can be useful to track that source code yourself. If the vendor ever goes away, you’ll still have all the source code and will be able to make changes and bug fixes to the library.

You should store all your vendor source code in one place in your repository. In the instructions on the facing page, we put all vendor code in named directories beneath /vendorsrc. Start by unzipping the source code (sometimes called a code drop) to a temporary directory. Next, import the code drop into a current directory inside the repository. ...

Get Pragmatic Guide to Subversion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.