refresh  removeroleauth

Chapter 12: Using jagtool and jagant

remove

Description

Removes, but does not delete, an entity from another entity. For example, use remove to remove a package from a server.

Syntax

Local mode support: Yes.

Command line:

remove [ connect-args | local-args ] source target

Ant build file:

<jag_remove source=”source” target=”target” />

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

source

The entity identifier of the entity being removed.

Yes

target

The entity identifier of the entity from which the source is removed.

Yes

Returns

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.

Examples

Example 1

This example removes Package:SVU from the entity Server:Jaguar.

Example 2

This example removes WebApplication:WebTier from the entity Application:estore.

Example 3

This example removes the service component MyPack/MyComp from the Jaguar server:

See also

install





Copyright © 2005. Sybase Inc. All rights reserved. removeroleauth