You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jörg Uhlmann <jo...@gmx.de> on 2005/06/17 12:54:26 UTC

how can i use filenames in scripts?

Hello,

i have some html files. A token in this files would i replace with the 
filename.

e.g.

my_page.html

<body>
   <!--        filename: @filename@
   -->
</body>

result:

<body>
   <!--        filename: my_page.html
   -->
</body>


the replace task, has no access to the filename. The same in the fileset 
task.
How can i do it?

thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org