ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HANDSCHMANN Robert <>
Subject How to use <uptodate> with <mapper type="glob"..>
Date Fri, 04 Jan 2002 13:04:23 GMT
I have a simple problem. I want to define a property that gets set
when some files are outdated compared to corresponding files in
another directory. I use the <update> task with a mapper:

<uptodate property="sqlj.files.uptodate">
    <srcfiles dir="${}" includes="**/*.sqlj"/>
    <mapper type="glob" from="*.sqlj" to="*.java"/>

Unfortunately this doesn't work because I don't know how to define the
target directory.
I tried also with 
    <mapper type="glob" from="*.sqlj"
which doesn't work, either.

Any ideas?


P.S: I need that as workaround for the bug in the <apply> task which 
doesn't correctly handle the 'skipemptyfilesets' attribute.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message