ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Turner <>
Subject Re: Problem with OUTOFDATE (ant-contrib) task
Date Thu, 10 Apr 2008 14:18:25 GMT

Well, in the face of the deafening silence from all you gurus, I've come up
with a solution to the problem:

<for list="${BPELModuleList}" param="ModuleName">
      <outofdate property="@{ModuleName}OutOfDateResult">
            <fileset dir="${bpelrootdir}@{ModuleName}" />
         <mapper type="regexp" dir="${bpelrootdir}@{ModuleName}/"
to="${bpelrootdir}..\\trips-bpel-previous\\@{ModuleName}\\\1.\2" />
            <echo message="Building @{ModuleName}" />
         <ispropertytrue property="@{ModuleName}OutOfDateResult" />
         <then />
            <echo message="Not building @{ModuleName}" />

The crucial bit is the regexp mapper, which does give me the right answers. 
However, regular expressions are - to me at any rate - are a bit cryptic,
and I'd far prefer a solution using the identity mapper.  So, can anybody
tell me whether there is such a solution?  Using an identity wrapper, how
does one specify the target location?

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message