next up previous contents index
Next: STList Up: Starteam Tasks Previous: STCheckin   Contents   Index

STLabel

Description

Creates a view label in StarTeam at the specified view. The label will be classified by StarTeam as a "build label". This task will fail if there already exexists in viewname a label with the same name as the label parameter.

Parameters

See also the required common StarTeam parameters.

Attribute Description Required
label The name to be given to the label yes
lastbuild The timestamp of the build that will be stored with the label. Must be formatted yyyyMMddHHmmss yes
description A description of the label to be stored in the StarTeam project. no

Examples

This example shows the use of this tag. It will create a label named Version 6.2 with "Thorough description" as its description.

  <tstamp>
    <format property="nowstamp" pattern="yyyyMMddHHmmss" locale="en"/>
  </tstamp>  
  <stlabel URL="STARTEAM:49201/Aproject/AView"
           username="auser"
           password="secret"
           label="Version 6.2"
           lastbuild="${nowstamp}"
           description="Thorough description"
  />



Andrew Marlow 2003-07-08