0
특정 디렉토리 내의 모든 파일을 실행할 수있는 foreach 태그가 있습니다. 파일 세트의 일부로 두 파일을 제외 시켰습니다.ANT : 대상 attrbute가 사용될 때 파일을 제외하지 않는 Foreach
는 그러나 관계없이 파일을 배제의 PARAM은 여전히 대상 "runpART"나는 제외 된 파일의 대상을 호출하지 않으
에 두 개의 파일을 전달합니다.
할 방법이 있으면 알려주십시오. 당신은 파일 패턴을 제외 포함하는 기대 <excludesfile>을 원하지 않는
<foreach target="runART" param="p.schedulerFile" inheritall="true" inheritrefs="true">
<path>
<fileset dir="${p.dir}" casesensitive="no">
<!--<include name="**\*.xml"/>-->
<excludesfile name="${pART.dir}\CodeCoverage_NSR.xml"/>
<excludesfile name="${pART.dir}\CodeCoverageRegression_HLR.xml"/>
</fileset>
</path>
</foreach>
http://ant.apache.org/manual/Types/fileset.html 당신이 ..이 작품 감사 ...이 링크는 태그 http://ant.apache.org/manual/Types/fileset.html이없는 –
당신을 도와 다행. 이 링크는 예제 섹션에서 페이지의 두 번째 절반에있는 일부 태그를 표시합니다. 또한, 그것은 patternset의 문서에 링크되어 있습니다 (at : http://ant.apache.org/manual/Types/patternset.html); 파일 세트는 및 하위 태그를 사용할 수있는 묵시적인 패턴 세트를 지원합니다. –