<fuego : managedirectory>

Description

This task creates, modifies and removes "presets" of a directory.xml file. Each property can be optionally encrypted. The encryption option can be used to encrypt password properties. Example:
 <fuego:managedirectory directoryFile="directory.xml" admin="admin"
                              adminPassword="adminPassword" encrypt="true">
     <fuego:add presetName="mypreset">
         <fuego:property name="key1" value="value1"/>
         <fuego:property name="key2" value="value2" encrypt="true"/>
     </fuego:add>
         <fuego:remove presetName="unusedpreset"/>
         <fuego:modify presetName="presetToModify">
             <fuego:removeproperties>
                            <fuego:property name="key1"/>
                            <fuego:property name="key2"/>
                     </fuego:removeproperties>
                    <fuego:addproperties> <!-- replaces the properties if they exist -->
                            <fuego:property name="key1" value="value1"/>
                            <fuego:property name="key2" value="value2" encrypt="true"/>
                    </fuego:addproperties>
      </fuego:modify>
 </fuego:managedirectory>
 

Parameters

Attribute Description Type Required?
verbose Verbose output. boolean No Default is false
adminpassword Password of BPM administrator user String No
encrypt Whether to encrypt password boolean No defaults to true
fuegobasedir Path to Oracle BPM Enterprise installation directory. File No Defaults to value of fuego.basedir property of your Ant script.
loaderref Reference to BPM classloader. Used internally. Reference No
directoryfile directory.xml file File No
admin ID of BPM administrator user String No

Parameters accepted as nested elements

<remove>

Use this element to remove a present form directory.xml
Attribute Description Type Required
presetname Preset name String Yes

<preset>

Attribute Description Type Required
name Property name String Yes
value String ?
encrypt boolean No Defaults to false

<add> ...

Use this element to add new presets to directory.xml
Attribute Description Type Required
presetname Preset name String Yes

<modify> ...

Use this element to modify presets on directory.xml
Attribute Description Type Required
presetname String ?