ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [SUBMIT] FileOrder element for ordering of filesets
Date Wed, 10 Apr 2002 09:31:03 GMT
On Wed, 10 Apr 2002, Rob Oxspring <roxspring@imapmail.org> wrote:

> One caveat - the testcase for date ordering won't compile or run
> under 1.1 since it used file.setLastModified(long) to prep the
> sample files.  I suppose I could recode using reflection - but
> should the test pass or fail with 1.1?

Take a look at org.apache.tools.ant.util.FileUtils#setLastModified and
make your testcase check for the JDK version to assert the proper
result.

> To be honest, concat is the only situation I can think of that
> *needs* this, but it may be an aesthetic bonus to other tasks.

Are you aware of Ant's current <concat> task?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message