Deletes an entity from the repository.
delete [ connect-args | local-args ] [-type type] entity
<jag_delete [ type=”type” ] entity=”entity” />
| Option | Description | Required | 
|---|---|---|
| connect-args | local-args | Arguments to specify a connection to the server or to run in local mode. See “Local versus connected mode”. | Yes | 
| type | Specify  | |
| entity | The identifier for the entity being deleted. | Yes | 
| Return value | Indicates | 
|---|---|
| 0 | The command ran successfully; the result is true/success. | 
| 1 | The command ran successfully; the result is false/failure. | 
| 2 | The command did not run successfully; an exception was thrown. | 
This example deletes Package:SVU from the repository.
Command line:
jagtool delete Package:SVU
Ant build file:
<jag_delete entity="Package:SVU" />
 When a package is deleted, it is also removed from any
servers on which it is installed.
When a package is deleted, it is also removed from any
servers on which it is installed.
This example deletes the SVULogin component from Package:SVU.
Command line:
jagtool delete Component:SVU/SVULogin
Ant build file:
<jag_delete entity="Component:SVU/SVULogin" />
| Copyright © 2005. Sybase Inc. All rights reserved. |   | |