Lists entities in the repository.
list [ connect-args | local-args ] type entity
<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. |
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
2 |
The command did not run successfully; an exception was thrown. |
This command lists all connection caches, running from the command line in local mode:
jagtool -local list ConnCache
This example lists all the packages in the repository.
Command line:
jagtool list Package
Ant build file:
<jag_list type="Package" />
This example lists all the child entities of Package:SVU.
Command line:
jagtool list Package:SVU
Ant build file:
<jag_list entity="Package:SVU" />
This example lists all the child components of Package:SVU.
Command line:
jagtool list Component Package:SVU
Ant build file:
<jag_list type="Component" entity="Package:SVU" />
Copyright © 2005. Sybase Inc. All rights reserved. |