#176 for task commented out in antcontrib.properties

closed-invalid
nobody
logic (23)
5
2006-06-08
2006-04-20
Anonymous
No

I downloaded ant-contrib-1.0b2.jar and was trying it
out and I noticed that my build breaks on the for task.

BUILD FAILED
C:\ccviews\RANDE4_nft_view\nft\infrastructure\apps\Live
Link\ant_automation\common\build.xml:67: Could not
create task or type of type: for.

I opened the jar file and looked at the file
net/sf/antcontrib/antcontrib.properties. I noticed
that the entry for the for task was commented out.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I think that if you use

    <taskdef resource="net/sf/antcontrib/antlib.xml"/>

    in your ant script the for task should work correctly.

     
  • Matt Inger

    Matt Inger - 2006-06-08

    Logged In: YES
    user_id=83032

    The "for" task requires ant 1.6, and you should use the
    antlib.xml instead, rather than the .properties file.

     
  • Matt Inger

    Matt Inger - 2006-06-08
    • status: open --> open-invalid
     
  • Matt Inger

    Matt Inger - 2006-06-08
    • status: open-invalid --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks