ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Uhlmann <joerg.uhlm...@gmx.de>
Subject how can i use filenames in scripts?
Date Fri, 17 Jun 2005 10:54:26 GMT
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


Mime
View raw message