Class: com.sybase.djc.ant.Property (Property) EAServer 6.3 Help
Description Set the value of a property or merge the existing value of a property with a new value.
Configuration Simple Example:
<property name="prop1" value="prop2"/>
Merge Example:
<property name="prop1" operation="insert-value" allowDuplicate="true" value="value2"/>
Nested Properties allowDuplicate, hashAlg, name, operation, protected, resolve, searchValue, value

Property: allowDuplicate (Allow Duplicate)
Description Modifies the behaviour of operation to remove any resulting duplicate list items.

Property: hashAlg (Hash Algorithm)
Description Hash algorithm name if the property value is encoded using a reversible hash algorithm. This is not a particularly secure mechanism, but just serves to avoid accidental disclosure of property values. Someone knowing the hash algorithm and the hashed value could obtain the unhashed value. Note: RandomHash is a Sybase-proprietary hash algorithm.
Legal Values Base64, RandomHash

Property: name (Name)
Description Required. Name of the property to be set.

Property: operation (Operation)
Description The operation is:
  • set: to simply set the property value;
  • append-list: to append the value to the previous value, interpreting both as comma-separated lists;
  • append-value: to append the value at the end of the previous value (or after searchValue if it is specified), interpreting the previous value as a comma-separated list.
  • insert-value: to append the value at the start of the previous value (or before searchValue if it is specified), interpreting the previous value as a comma-separated list.
  • replace-value: replace all occurrences of searchValue with the new value, interpreting the previous value as a comma-separated list.
Default Value set
Legal Values set, append-list, append-value, insert-value, replace-value

Property: protected (Protected)
Description Save the property value in protected storage, rather than directly in the properties file. This is recommended for sensitive values such as passwords.

Property: resolve (Resolve)
Description Indicates whether any embedded expressions (e.g. ${systemPropertyName}) in the value should be resolved. If not resolved, expressions remain in the saved property value for later resolution when the property value is used at runtime.
Default Value true
Legal Values false, true

Property: searchValue (Search Value)
Description See description of operation.

Property: value (Value)
Description Required. Value of the property to be set. This is interpreted according to the selected operation.