Purging Program Elements from the Repository

Purging marks projects or packages for deletion from the repository. Purged program elements do not appear in the Repository Explorer window, but they exist in the repository and can be restored until the repository is compacted. Purging program elements does not free up disk space. It is a preliminary step to compacting, which creates a smaller repository.

When you purge an edition of a package, you also purge the classes, interfaces, and methods contained in that package. This provides the greatest benefits when the repository is compacted later.

When you purge an edition of a project, you are only deleting information about that project's configuration of packages. You do not purge any contained program elements.

tentergf.gif (577 bytes) Program elements can only be purged by their owners or by the repository administrator.

Purging program elements
To purge projects and packages:

  1. Delete the program elements from your workspace, prior to purging them from the repository.
  2. tentergf.gif (577 bytes) Confirm that the projects and packages have been deleted from all other team members' workspaces.
  3. From the Window menu, select Repository Explorer.
  4. In the Repository Explorer window, select the Projects or Packages page, according to what you want to purge.
  5. Select the Project Name, Package Name, or Edition that you want to purge. Selecting a project or package by name will purge all editions of that program element. Hold down the Ctrl key to make multiple selections.
  6. From the pop-up menu of the selected elements, select Purge. A message will appear, asking you to confirm the purge operation.
  7. Click OK.

The purged items will no longer appear in the Repository Explorer window. If you try to load a project that contained a purged package edition, an error message will indicate that the project could not be loaded because one of its packages "does not exist in the repository". (In fact, the package is still in the repository, and can be restored until the repository is compacted.)


Repository


Searching for a Program Element in the Repository
Compacting a Repository
Restoring Program Elements
Backing Up the Repository

ngrelr.gif (548 bytes)
Repository Files