Measurement of the tau lifetime with the DELPHI detector