Gabriele Brysch wrote:
>hi,
>
>i think you need "refid" vs "id" if you refer to
>a previous defined path
>
><target name="Initialisation de l'environnement">
> <myTask path="my.path"/>
>
> <path refid="my.path.id">
>
> <fileset dir="${my.path}" includes="**/*.jar" />
> </path>
>
>hope that works�,
>
No it doesn't work...
If you have another idea ...
Regards,
Cyriaque,
>
>
>regards, gabi
>
>-----Urspr�ngliche Nachricht-----
>Von: Cyriaque Dupoirieux [ <mailto:[EMAIL PROTECTED]>
>mailto:[EMAIL PROTECTED]]
>Gesendet: Freitag, 22. M�rz 2002 14:08
>An: Liste Ant
>Betreff: Problem to define a path (Bis)...
>
>
> Hello,
>
> I need to define a path using a property :
>
> <path id="my.path.id">
> <fileset dir="${my.path}" includes="**/*.jar" />
> </path>
>
> But the variable my.path is set in one of my own tasks (in java)...
>
> I tried this but it doesn't work :
>
> <target name="Initialisation de l'environnement">
> <myTask path="my.path"/>
> <path id="my.path.id">
> <fileset dir="${my.path}" includes="**/*.jar" />
> </path>
> </target>
>
> What can I do ?
>
>Regards,
>Cyriaque,
>
>
>
>--
>Cyriaque Dupoirieux < <mailto:[EMAIL PROTECTED]>
>mailto:[EMAIL PROTECTED]>
>PCO Technologies
>Burolines - 2 ter rue Marcel Doret
>31700 Blagnac
>T�l : 05.34.60.44.13 - Fax : 05.34.60.44.10
>
>
>
>
>--
>To unsubscribe, e-mail: <
><mailto:[EMAIL PROTECTED]>
>mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <
><mailto:[EMAIL PROTECTED]>
>mailto:[EMAIL PROTECTED]>
>
>
>
>---
>Virus checked by <http://www.cosus.de> http://www.cosus.de (scanned by
>srv1-stg.cosus.de)
>
>
>
>
>---
>Virus checked by http://www.cosus.de (scanned by srv1-stg.cosus.de)
>
--
Cyriaque Dupoirieux <mailto:[EMAIL PROTECTED]>
PCO Technologies
Burolines - 2 ter rue Marcel Doret
31700 Blagnac
T�l : 05.34.60.44.13 - Fax : 05.34.60.44.10