jmsset_props  list_ver

Chapter 12: Using jagtool and jagant

list

Description

Lists entities in the repository.

Syntax

Local mode support: Yes.

Command line:

list [ connect-args | local-args ] type entity

Ant build file:

<jag_list 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

The type of entities to list.

Either type or entity is required. Both can be used.

entity

An optional entity identifier to specify a parent entity. Child entities are listed.

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Examples

Example 1

This command lists all connection caches, running from the command line in local mode:

jagtool -local list ConnCache

Example 2

This example lists all the packages in the repository.

Example 3

This example lists all the child entities of Package:SVU.

Example 4

This example lists all the child components of Package:SVU.





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