Hello,
i'm struggling with the following task and hope you have some hints and help
available.
I want to write a task that receive a file or directory and copy and rename
it.
e.g.:
./file1.txt -> ./file1_20020401_1200.txt
./file2 -> ./file2_20020401_1200
./dir1 -> ./dir1_20020401_1200
The ant call should be s.th. like:
$ant -f copy.xml -Dsource=file1.txt
$ant -f copy.xml -Dsource=dir2
So far i started with:
Thanks in advance, Leif