0
這是我寫使用螞蟻
<?xml version="1.0"?>
<project name="Hello World Project" basedir="." default="info">
<property name="cms.dir" value="D:\CMS\webclient\components\CMS" />
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<target name="info">
<echo>Hello World - Welcome to Apache Ant!</echo>
<fileset id="src.files" dir="${cms.dir}" casesensitive="yes">
<include name="**/*.uim"/>
<include name="**/*.properties"/>
</fileset>
<pathconvert pathsep="," property="sounds" refid="src.files">
</pathconvert>
<echo file="sounds.txt">${sounds}</echo>
</target>
</project>
Ant腳本獲取文件的完整路徑,它只是填充文件名我。怎麼可以得到一個文件