I'm looking at the (dismal) ant docs on resources and sort, but I can't
figure out how to use it on my file set:
<concat destfile="${temp}/s3/management.css">
     <fileset dir="${temp}/assets/min/css/" includes="*.css"/>
   </concat>

I just want to sort those files by name so they go into concat alphabeticly.
My files are named 1styles.css, 2styles.css, 3styles.css, etc...

How can I do this?

Alex

On 7/23/07, Matt Benson <[EMAIL PROTECTED]> wrote:


--- Alex Egg <[EMAIL PROTECTED]> wrote:

> I need to load some CSS files into the concat task,
> but they need to be a
> certain order. How should I do this? Maybe number
> the file names? Is there
> any build in fileset functionality for this?
> Alex
>

In Ant 1.7+, you can use any resource collection with
<concat>.  If you need to specify an arbitrary order,
use a <path> or a <resources> collection.  If you can
sort them in some way, look at the <sort> resource
collection.

HTH,
Matt



____________________________________________________________
________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/

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


Reply via email to