【提问求助】关于ant脚本写查找给出路径下面的文件名
比如获取到了D:\U2000\server\sm路径,
用ant脚本查找路径下的aaaaa.cpp文件,脚本应该怎么写呢?
求高人指教!不胜感激!
<propertycopy property="file_name" from="patches.${PATCH_NUM}.update.${UPDATE_FILE}(file)" /> <propertycopy property="patch_name" from="patches.${PATCH_NUM}.artifacts.A1(patch_name)" /> <property name="full_path" value="${CC_VIEW}/${file_name}"/> <mkdir dir="${update_log}/${patch_name}"/> <ccupdate viewpath="${full_path}" graphical="false" log="${update_log}/${patch_name}/${UPDATE_FILE}.log" overwrite="true" failonerr="false" currenttime="false" rename="false"/> <ccupdate viewpath="${full_path}" graphical="false" log="${update_log}/${patch_name}/${UPDATE_FILE}.log" overwrite="true" failonerr="false" currenttime="false" rename="false"/> <ccupdate viewpath="${full_path}" graphical="false" log="${update_log}/${patch_name}/${UPDATE_FILE}.log" overwrite="true" failonerr="false" currenttime="false" rename="false"/> <concat destfile="${update_log}/${patch_name}.log" fixlastline="yes"> <fileset dir="${update_log}/${patch_name}" includes="*.log" /> </concat>
<fileset dir="${path}" includes="**/*"> <filename name="**/aaaaa.cpp" casesensitive="true"/></fileset>