Cloud Application Integration (On-Premises) : Service Development : Using the VCS Integration Feature to Check Elements In and Out of a VCS : Deleting Packages and Elements from the VCS
Deleting Packages and Elements from the VCS
The VCS Integration feature enhances the existing Delete command to delete packages, folders, and elements from both Integration Server and the VCS repository.
Keep the following points in mind when deleting items from an Integration Server on which the VCS Integration feature is configured:
*The Delete command can be applied to packages, folders, and elements regardless of the checked in/checked out status of the elements.
*You cannot delete packages or elements checked out by other users.
*When the Delete command is applied to a package, Integration Server saves a copy of the package in the package recovery area of Integration Server.
*When the Delete command is applied to a folder or element in a folder (a service, for example), the folder or element is deleted completely from the Integration Server. For those VCS servers that support restorable deletion, the element is deleted from the repository view but not destroyed.
*When you apply the Delete command to a package, or to a folder in a package, all of the elements within the container’s hierarchy (both VCS elements and non-VCS elements) are deleted.
*For ClearCase, the Delete command removes the package, folder, or element from the versioned object base (VOB), so that the package, folder, or element is removed from all branches.
*Visual SourceSafe and ClearCase do not support entry of a delete comment. The VCS history will show only the VCS user name and the time of deletion.
Note:  
Do not apply the Delete command to any earlier version packages or elements that are checked out, as unpredictable results may occur.
To delete a package, folder, or element from both Integration Server and the VCS
1. In Package Navigator view, select the package, folder, or element you want to delete.
2. Select Edit > Delete.
The Delete Confirmation dialog box appears. If you are deleting a publishable document type, Designer prompts you to delete the associated Broker document type as well. For more information about deleting Broker document types, see Deleting Elements.
3. Click OK.
If a VCS package or element is checked out by another user, the package or element will not be deleted, and an error message appears. In addition, any parent folders leading to the checked out element will not be deleted.
When deleting a package, a message box appears stating that the deletion is complete and that the deleted package has been copied to the recovery area of the Integration Server. If this message appears, click OK.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback