ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craeg K Strong <>
Subject Re: Proposed Changes for 1.4 release
Date Wed, 04 Jul 2001 19:26:08 GMT
Conor MacNeill wrote:

>Tell me more about <dependset>. I have some ideas there and I need them for
>some changes I am considering for <ejbjar> and I'd like to know if we are
>thinking the same thing :-)
Sure thing.  Here is an example:

     dir  = "${basedir}"
     includes  = "${cookie.file.path}, ${dtd.file.path}, common.xsl"/>
    dir = "${basedir}"
     includes = "${output.dir}/*.html"/>

<srcfiles> and <targetfiles> are filesets

You can specify arbitrarily many <srcfiles> and/or <targetfiles>, but at 
least one of each.

If any of the files specified in <srcfiles> is more recent than any of 
the files
specified in <targetfiles>, all <targetfiles> are removed.

This is the simplest possible syntax I could come up with.  Let me know
if you like it.

My implementation makes use of MergeMapper and SourceFileScanner.  
I had to make a few extensions to each.  
I believe these extensions are useful beyond just <dependset>.
-- but first lets make sure the syntax is agreeable...

>I wouldn't know what the "tao of ant" would be :-)


Craeg K. Strong                               |
Ariel Partners LLC		              | 
85 River Street, Ste. 3A                      | Fax:      (781) 647-9690
Waltham, MA 02453                             | Voice:    (781) 647-2425

View raw message