ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingmar Stein" <st...@xtramind.com>
Subject Rotating log files
Date Fri, 06 Jul 2001 10:09:18 GMT
Hi all,

I use Ant for a nightly build system which creates a new directory each time
it is run via
a cron job using

  <tstamp/>
  <property name="path.dlogs" value="${path.logs}/${DSTAMP}"/>
  <mkdir dir="${path.dlogs}"/>

Now, I wanted to archive all log directories except the latest, say 10,
entries
into a ZIP archive.
Does anyone know if this is possible with Ant?

Cheers,

Ingmar Stein


Mime
View raw message