Chapter 13 Using jagtool and jagant
Determines whether or not a specified entity is present in the configuration repository.
Command line:
exists entity
Ant build file:
<jag_exists entity="entity" property="ant_property">
Option | Description | Default | Required |
---|---|---|---|
entity | The entity identifier in the form EntityType:EntityName. | - | Always |
ant_property | The name of the Ant build property to set if the entity exists. | - | When usin g Ant |
This example determines whether the component SVULogin in package SVU exists:
jagtool exists Component:SVU/SVULogin
svulogin.exists
if
the component exists. If it does not exist, the property is not
set.
<jag_exists entity="Component:SVU/SVULogin" property="svulogin.exists" />
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |