grantroleauth  jmscreate

Chapter 12: Using jagtool and jagant

install

Description

Installs an entity into another entity (for example, installing a package into a server).

Syntax

Local mode support: Yes.

Command line:

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

Ant build file:

<jag_install 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 for the entity being installed.

Yes

target

The entity identifier in which the source entity is being installed.

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 installs the package SoapDemo in the server.

Example 2

This example installs the application MyPortfolio in the server.

Example 3

This example installs MyListener into the Jaguar server:

Example 4

This example installs the service component MyPack/MyComp into the Jaguar server:

See also

create, remove





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