Deleting a pattern instance project with project references

Pattern instance projects typically contain references to regular projects. Therefore, when you select a pattern instance project for deletion you must decide whether to delete all of the referenced projects from the file system.

About this task

Pattern authors can configure projects in a pattern authoring project so that they are not overwritten when a pattern instance is regenerated. Projects that have been configured in this way are not deleted when a pattern instance is deleted. For more information, see Configuring a project used in a user-defined pattern.

Use the following steps to delete a pattern instance project that has project references:

Procedure

  1. In the Application Development view, open the Pattern Instances section.
  2. Right-click the pattern instance project, or projects, that you want to delete, click Delete.
    The Confirm Project Delete window opens, displaying any projects that are referenced by the pattern instance project. The Also delete the projects referenced by this pattern instance project check box is selected and the Also delete contents in the file system check box is cleared by default.
  3. Choose one of the following options:
    • To delete the pattern instance project, or projects, and the project references, but leave the contents in the file system, keep the default settings, click Yes. The pattern instance project, or projects, and the project references still exist in the file system.
    • To delete the pattern instance project, or projects, and the project references from the workspace and the file system, ensure that Also delete the projects referenced by this pattern instance project and Also delete contents in the file system are both selected, click Yes. The working set is deleted.
    • To delete your pattern instance project, or projects, from the workspace but not from the file system and to keep the project references in the workspace and file system, ensure that Also delete the projects referenced by this pattern instance project and Also delete contents in the file system are both cleared. The working set is deleted.
    • If you decide not to delete the pattern instance project, or projects, click No.