Hello,
I want to call Ant from another Ant File and send some filsets: sth like this: <fileset id="local.fileset1" dir="${example.basedir}" /> <fileset id="local.fileset2" dir="." /> <property name="local.filesetlist" location="local.fileset1,local.fileset2" /> <ant antfile="antfile2" target="doit" inheritall="true" inheritrefs="true"> <property name="dopecreatepackdir.filesetlist" value="${local.filesetlist}" /> </ant> The variable local.filesetlist stores now a list of two filset ids. In antfile2 I want to do sth. like this (using antcontrib): <for list="${ dopecreatepackdir.filesetlist }" param="pack.fileset.id" parallel="false"> <sequential> <echo level="info">Copy @{pack.fileset.id}</echo> <copy todir="${dopecreatepackdir.location}" preservelastmodified="true" overwrite="true"> <fileset refid="@{pack.fileset.id}" /> </copy> </sequential> </for> I get the following error: D:\Entwicklung\Build\ReleasePaket\buildRelease\ant\dopeCreatePreparePackDir.xml:94: No directory specified for fileset. Both filesets exist in the Antfile (I used inheritrefs=true), but I can not access them using a property. (I can if I use the names e.g. local.fileset1) I use ANT 1.7.1. Is this, how it should be? Is this a bug? Regards Juergen -- Jürgen Knuplesch www.icongmbh.de <http://www.icongmbh.de/> icon Systemhaus GmbH Tel. +49 711 806098-275 Sophienstraße 40 juergen.knuple...@icongmbh.de D-70178 Stuttgart Fax. +49 711 806098-299 Geschäftsführer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121