ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Any chance for fileset arithmetic?
Date Tue, 29 Jul 2003 14:22:18 GMT
On Fri, 25 Jul 2003, Alexey Solofnenko <A.Solofnenko@mdl.com> wrote:

>   Would it be possible to add fileset joining, subtraction,

This is already possible, if you use selectors instead of
include/exclude children.

>   file renaming/mapping

Every time anybody proposes to allow nested <mapper>s in <fileset>,
they seem to mean something different.

What should

<fileset dir="." includes="**/*.java">
  <mapper type="glob" from="*.java" to="*.class"/>
</fileset>

be?

A set of the (potentially non-existant) files that I get when I
replace .java with .class in the names of the existing files?

A set of the (potentially non-existant) files that I get when I
replace .java with .class in the names of the existing files, but only
those that really do not exist or are older than the corresponding
class files?

Something else?

>   and selectors into fileset itself?

Are there since selectors are part of Ant.

Stefan

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


Mime
View raw message