ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Adams" <>
Subject Saving JUnit reports to a folder based on date
Date Tue, 25 Jan 2005 22:41:09 GMT

I'm new to ant and am basically using it to make JUnit reports. I was
just wondering if there was a way to make Ant create a new folder for
each test based on the date.

For example they are saves in:

    <property name="test.reports" value="reports/" />

I was wondering if it was possible to save them in something like:

    <property name="test.reports" value="reports/[ddmmyyyy-hhmm]/"/>

or something like that. I've looked in the manual but can't seem to find
what I'm looking for except using something like:
<property name="test.reports" value="reports/${TODAY}/"/>

but this doesn't work. I'm guessing TODAY must be set as a property
first or something. Thanks.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message