<fuego : session>

Description

Establishes a session with a Fuego Directory. The Tasks contained as nested elements are executed using this session.

An external Fuego Passport can be referenced for convenience.

All the Fuego Ant tasks that use a directory session must be a children of this task.

Example:

  <!-- Define a fuego "passport" -->
  <fuego:passport id="fuego.passport"
         directoryid="${fuego.directoryid}"
         participant="${fuego.participant}"
            password="${fuego.password}" />


  <target name="publish">

    <!-- Open a session to the Fuego directory -->
    <fuego:session
          passportref="fuego.passport"
              verbose="true"
           properties="${fuego.basedir}/conf/directory.properties"
          haltonerror="true" >

         ... include other Fuego tasks here...

    </fuego:session>

  </target>
  

Parameters

Attribute Description Type Required?
haltonerror Stop the build process if an error occurs. boolean No Default is false
directorypreset String ?
verbose boolean ?
passportref Use a passport defined previously instead of defining all the properties in the session task Reference Yes Unless directoryid or directoryurl are specified.
directoryid The id of the Fuego Directory to used, as defined in the directory.properties file. String Yes Unless passportref or directoryurl are specified.
properties Use a different directory.properties file instead of the default one locate in the conf dir File No

Defaults to ${fuego.basedir}/conf/directory.properties

fuegobasedir File ?
loaderref Reference ?
participant ID of the participant to use String Yes Unless passportref is specified.
password Password for the participant String Yes Unless passportref is specified.
directoryfile File ?
preset Specifies a preset to use in the Directory Passport. String No

Parameters accepted as nested elements

This Task is a Container (it accepts nested Tasks).