Chapter 12. Multifile Versioning
So far, we've only considered versioning scenarios in which the versioned file is independent from all other versioned files. Versioning gets much more complicated when multiple files with relationships to each other may be checked out and checked in.
Let's imagine a simple Java program for finding employee information, department information, and which employees are in which department. The program requires only two source files, Employee.java
and Department.java
, and each file corresponds to a Java class. The Java object for a Department references a number of Employee objects when the code runs. Thus, Department.java
must reference the other file when it is compiled. If Department calls a method getID() on Employee, ...
Get WebDAV: Next-Generation Collaborative Web Authoring 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.