Condividi tramite


Updating the Project List

Even after files have been added to the source-controlled project, other developers will not be able to work with them. Developers will be able to manually use their source control system to check files out and in if they need to, but the added files will not be displayed in the Project Manager for any developer except the developer who added the files. To make the files available to other developers, update the project list.

When you update the project list, Visual FoxPro:

  • Generates a new local project file list (.pjm file).
  • Checks in the new project file list (with the option set to keep the file checked out).
  • Merges the local and central project file lists if there are differences. If a merge conflict occurs, Visual FoxPro displays a dialog box to help you resolve the merge conflicts.
  • Rebuilds the local project (.pjx) file based on the merged project file list.
  • Gets local copies of files added to the project by other developers.
  • Prompts you to get the latest versions of the project files.
  • Refreshes the display in the Project Manager to reflect changes.

To update the project list

  • From the Project menu, choose Source Control, and then choose Update Project List.

As part of the update procedures, Visual FoxPro prompts you to get the latest versions of files. If you have a file already checked out, as a general rule you shouldn't get the latest version, because your version is almost certainly more current than the one on the network.

If you're getting the latest version of a text file (such as a program), the source control software can attempt to merge the latest changes with your version. For more information about merging text files, see Checking In Files.

When you're finished, other developers should also then update their project list (using the same procedure) in order to be able to work with the files you've added.

See Also

Developing in Teams | Management of Visual FoxPro Projects Under Source Control | Detaching a Project from Source Control | Joining an Existing Source-Controlled Project