Font size:
Object-Exists
Description
Checks if specified object exists in project.
Parameters
| Attribute | Description | Required |
|---|---|---|
| depot | The project to update | Yes |
| resultproperty | Property to set with success/fail value | Yes |
| comment | Text describing purpose of update | Yes |
| passfile | File containing authentication info to server. If passfile is not specified, information from the framework.properties file is used instead. | No |
Parameters specified as nested elements
setting
A setting object.
deployment
A deployment object.
assembly
A assembly object.
node
A node object.
package
A package object.
Examples
Check if a package object exists
<object-exits depot="${context.depot}"
resultproperty="result"
comment="">
<package
name="${rpm.name}"
type="Package"/>
</object-exists>
<condition property="exists">
<equals arg1="0" arg2="${result}"/>
</condition>


