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">
   <sequential>
      <outofdate property="@{ModuleName}OutOfDateResult">
         <sourcefiles>
            <fileset dir="[EMAIL PROTECTED]" />
         </sourcefiles>
         <mapper type="regexp" dir="[EMAIL PROTECTED]/"
from="^(.*)\.(.*)"
to="[EMAIL PROTECTED]" />
         <sequential>
            <echo message="Building @{ModuleName}" />
         </sequential>
      </outofdate>
      <if>
         <ispropertytrue property="@{ModuleName}OutOfDateResult" />
         <then />
         <else>
            <echo message="Not building @{ModuleName}" />
         </else>
      </if>
   </sequential>
</for>

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: 
http://www.nabble.com/Problem-with-OUTOFDATE-%28ant-contrib%29-task-tp16537429p16608822.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to