ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: How to include files in different directories in sourcefiles of uptodate task
Date Tue, 02 Apr 2002 05:17:15 GMT
--- Abhay Kulkarni <abhayk@pune.tcs.co.in> wrote:
>  <uptodate property="xmlBuild.notRequired">
>       
>        
>            <srcfiles dir= "${src1}" includes="one.java"/>         
>            <mapper type="merge" to="${src}/clas/one.class"/>
>  </uptodate>

You can nest as many <srcfiles> elements as you need, one for each
directory you want to point to. Also, you don't need the <mapper>, since
<uptodate> defaults to a "merge" mapper. Try:

    <uptodate property="one.class.upToDate"
              targetfile="${src}/class/one.class">
      <srcfiles dir="${src1}" includes="one.java"/>
      <srcfiles dir="${src2}" includes="two.java"/>
    </uptodate>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message