主权项 |
1. A system for providing consistency between compile-time and run-time software library repositories, comprising:
a computer including one or more microprocessors; an execution environment, on the computer, that includes a plurality of software libraries, wherein each software library is associated with a library file describing that software library; a population and synchronization tool plugged into the execution environment, wherein the population and synchronization tool operates to
search for each library file associated with a software librarycreate a data structure that includes one or more software libraries based on the library file or a corresponding location file, andprocess each software library in the data structure to update a defined repository for use at compile time by performing the steps of
determining that a software library with a same name already exists in the defined depositorydetermining that the two software libraries include different contents, andreplacing the software library in the defined repository with that software library in the data structure,wherein the population and synchronization tool, before performing the replacement, operates to determine whether the software library to be replaced in the defined repository has been previously modified by a user, and, if the software library is determined to have been modified, warn the user that the modified software library is to be replaced. |