ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ANT - subant task with directory ordering
Date Tue, 30 Mar 2004 06:28:33 GMT
On Mon, 29 Mar 2004, <> wrote:

> Could this be changed to be deterministic and based on the natural
> ordering of the String class?

Not easily.

One way a user can do that without any modification to Ant, is by
providing a subclass of <path> that takes a nested <fileset> (Path
already does that) and orders the contents of it.

After that, use <typedef> to make your Path subclass known, say

<typedef classname="org.example.Path" name="mypath"/>

and then use your subclass in <subant>

<subant ...>
  <path ant-type="mypath">
    <fileset .../>



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

View raw message