ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Catz <Guy.c...@waves.com>
Subject help with For task (contrib)
Date Wed, 25 Jun 2008 09:07:30 GMT
hey guys.

I'm trying to use the For task with contrib, but when running, it says that it doesn't familiar
with For !!!

 <target name="testing">
  <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

  <for list="a,b,c,d,e" param="letter">
    <sequential>
      <echo>Letter @{letter}</echo>
    </sequential>
  </for>
 </target>


BUILD FAILED
/p4client/BuildMachine/Mac/Scripts/build-buildAllCC.xml:98: Problem: failed to create task
or type "for"
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message