hi all,
i need to copy class files that i changed .
in my project we are using subeclipe,on comiting it will list all the files.*.java
i need to copy the respective class files from web-inf folder.
<?xml version="1.0"?>
<project name="beehive" basedir=".">
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<loadfile property="file.list" srcFile="test.txt">
<target name="testtarget">
<for list="${file.list}" param="fileName" >
<copy file="D:/AAAA/@{fileName}" todir="D:\\AAAA\\to">
but while executing this i'm getting
C:\Documents and Settings\aaa\Desktop\salANT\testfile\build.xml:14: required attribute filename not set
i added ant-contrib-0.6.jar at ant lib

please help for this issue