test.bat를 bin 폴더에 복사해야합니다. build.xml의 코드를 작성하여 bin / test.bat에서 dist / intall / windows /로 파일을 복사해야하지만 복사하지는 않습니다.
프로젝트 구조
계획
| -dist-install-windows-bin
| -etc-bin-test.bat
| -src-build.xml
<target name="copy">
<copy todir="./dist/install/windows/bin">
<fileset dir=".">
<include name="etc/bin/test.bat"/>
</fileset>
</copy>
</target>
상위 디렉토리를 "dir"속성으로 지정
<fileset dir="..">
<include name="etc/bin/test.bat"/>
</fileset>
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다