Mmh - working for Ant 1.7 you could use nested <resources>. There is a <sort> for them...
Jan >-----Ursprüngliche Nachricht----- >Von: Dominique Devienne [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 21. November 2005 16:48 >An: Ant Users List >Betreff: Re: <patch> on <filesets> > >On 11/21/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: >> look at the for and for-each constructs of ant-contrib. >> >> :http://ant-contrib.sourceforge.net/ > >There's no standard way to enforce alphabetical order of files in Ant. >Often the file system will return them in alphabetical order, >but there's no guarantee of that... I had a hack that did that >at one point, called a fileset decorator ;-) > >In any case, you may want to also look into <apply>, since I >would think <patch> in fact forks to a system specific patch program. > >But for guaranteed order, you may need to write a true >(shell?) script that you exec from Ant. > >> Kenneth Rose wrote: >> >P.S. - Patches should be applied in alphabetical order >based on their >> >filename. So if I have: >> > >> >patches/a_nice_patch.diff >> >patches/zzz_last_one.diff >> > >> >then a_nice_patch.diff is applied before zzz_last_one.diff. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] For >additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]