Chapter 13 Using jagtool and jagant
Creates an XML configuration file that matches the configuration of an existing entity.
Command line:
exportconfig [-dir dirname] [-configtype update|create] [-verbose true|false] entity
Ant build file:
<jag_exportconfig [ dir="dirname"] [configtype="update|create"] [verbose=true|false"] entity="entity" />
Option | Description | Default | Required |
---|---|---|---|
dir
|
The directory where the file is to be created. | The current directory. | No |
configtype
|
Specifies the value of the type attribute of the configure XML element that is created. | update
|
No |
verbose
|
Execute in verbose mode. | false
|
No |
entity | The name of the entity being created, in the form EntityType:EntityName. | - | Yes |
The exportconfig command creates the file sybase-easerver-config.xml in the specified directory. The command fails if a file with this name already exists.
This example creates an XML configuration file in
the current directory for the component EventSamples/StockManager and
specifies create
as the configure
type:
jagtool exportconfig -configtype create Component:EventSamples/StockManager
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |