ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [Submit] Rounding error with dependency checking in SouceFileScanner.java
Date Wed, 28 Nov 2001 08:27:16 GMT
On Wed, 28 Nov 2001 06:59, Bruce Atherton wrote:
> How about this: adding an attribute to <mapper> that allows you to set the
> accuracy of the dependency time comparison. By default it would be 0, but
> you could adjust it in your build file if necessary. Someone would still
> need to be aware of the time issue, of course, but there would be a simple
> build file change available to fix it.
>
> The only ugliness here is that <mapper> is used in multiple ways, both to
> rework filenames (most of the time) and to filter out files in filesets
> both through dependencies and failure to match a regular expression (some
> of the time). If I can get agreement that adding the attribute is a benign
> change, are there thoughts on splitting this functionality apart or should
> I embrace this duality and put the attribute in <mapper>?

It has been proposed that mapper act on attributes of a file other than name 
but that has been -1'ed. I actually think it is a good idea ... so feel free 
to lobby Stefan to remove his -1 ;)

-- 
Cheers,

Pete

------------------------------------------------------------
 I just got lost in thought... It was unfamiliar territory.
------------------------------------------------------------

--
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