<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="ant-contrib-1.0b3.jar" />
</classpath>
</taskdef>
<target name="unzipall">
<!-- file-set auf dir xyz. -->
<fileset id="fs" dir="xyz">
<include name="*.zip"/>
</fileset>
<!-- convert fs in prop list : xyz/abc.zip,xyz/tinki.tip,xyz/lala.zip -->
<pathconvert pathsep="," property="list" refid="fs"/>
<echo>ZIP files found: ${list}</echo>
<!-- for each in list do unzip -->
<foreach list="${list}" target="unzip" param="file" trim="yes" />
</target>
<target name="unzip">
<echo>unzip ${file}</echo>
<!-- unzip aufruf etc. -->
</target>