Chapter 13 Using jagtool and jagant


set_props

Description

Sets properties for an entity in the repository. Properties can be set by specifying either a names and values or a properties file.

Syntax

Command line:

set_props entity [ name value ] | [ file ]

Ant build file, specifying a property file to read:

<jag_set_props entity="entity" file="file" />

Ant build file, specifying properties directly:

<jag_set_props entity="entity" />
  <property name="name" value="value">
  ...
</jag_set_props>

Option Description Required
entity The entity identifier for the entity whose properties are being set. Always.
name The property name. In an Ant build file, you may specify multiple properties as <property> elements. When setting properties directly.
value The property value. When setting properties directly.
file The name of a property file. Files must specify properties in the format of an EAServer properties file. When setting properties using a properties file.

Examples

This example sets the description for the entity Package:SVU.

This example sets the properties for Package:SVU from the file SVU.props.

You can use the Ant build file to specify multiple properties. For example, this declaration sets the values for the com.sybase.jaguar.description and com.sybase.jaguar.package.roles properties for Package:SVU.

See Also

Appendix B, "Repository Properties Reference"

 


Copyright © 2002 Sybase, Inc. All rights reserved.