拷贝文件夹使用ant能过滤掉隐藏文件,而且拷贝速度也比较快
<?xml version="1.0" encoding="UTF-8" ?>
<project default="main" basedir=".">
<echo message="pulling in property files"/>
<property file="axis_bujava.properties"/>
<echo message="calling the web services generation ant task: axis_bujava"/>
<target name="main" >
<copydir dest="D:\workspace\WebRoot\purviewmanager" src="H:\999_other\purviewmanager"
forceoverwrite="true"></copydir>
</target>
</project>