Klaus:

So did that work or do you need another solution?

Scot

Allwicher, Klaus wrote:
Hi Scot,

thanks, I had read over the additional 'count' attribute, sorry :-(
With this everything works fine.

@Matt: Thanks also for the suggestion, but we want only to used "offically"
released versions ...

Klaus

-----Original Message-----
From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: 11 May, 2006 17:28
To: Ant Users List
Subject: Re: Ordered fileset

Klaus:

Check out the timestampselector in ant contrib. I see you using the "for" task so I assume you are familiar with ant contrib ;)

From the documentation, it has a count attribute "the number of files to find. If more than 1, than the files in the output appear in the order indicated by the |age| attribute" and age "the age of the files to retrieve, either |eldest| or |youngest|. Defaults to |youngest|."

Allwicher, Klaus wrote:
Hi,

I have to process different files ordered by their creation
date. (In
more detail, I have to import them and have to assure the
the contents
of newer archives are not overwritten by the contents of
older files).
If there a possiblity to define an order for filesets or
are there any
other ways to achieve this with standard ANT tasks/types ?
Or do I have to write a new/extended fileset by my own ?

Currently the ANT target looks something like

        <for param="arc_name">
<path> <fileset dir="${dir.import}"
casesensitive="false"
includes="${arc_pattern}" /> </path>
        <sequential>
                <import archive="@{arcname}" />
        </sequential>
        </for>

Thanks for you help :-)

Klaus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For
additional
commands, e-mail: [EMAIL PROTECTED]


--
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim

Reply via email to