전체 출력을 보지 않고 ant에서 svn status 명령을 실행할 수 있습니까? 내가 현재 사용하고 다음ant svntask에서 --quiet 인수 사용
<svn><status path="." revisionProperty="build.number" /></svn>
결론 "내가 조용히 SVN 개정 번호를 얻으려고하고 나는"정보 "태그를 사용할 수없는 이유 (I 얻을 SVN 아무튼 중첩 된 정보 요소를 지원하지 않습니다. ").
전체 출력을 보지 않고 ant에서 svn status 명령을 실행할 수 있습니까? 내가 현재 사용하고 다음ant svntask에서 --quiet 인수 사용
<svn><status path="." revisionProperty="build.number" /></svn>
결론 "내가 조용히 SVN 개정 번호를 얻으려고하고 나는"정보 "태그를 사용할 수없는 이유 (I 얻을 SVN 아무튼 중첩 된 정보 요소를 지원하지 않습니다. ").
나는 당신이 wcVersion 개미 작업을 찾고 생각 : 나를 위해
<!-- Install the SVN Tasks -->
<path id="svnant.classpath">
<fileset dir="${svnant.dir}">
<include name="*.jar" />
</fileset>
</path>
<!-- Retrieve info about the Working Copy's SVN Repo -->
<svn>
<wcVersion path="${workingcopy.dir}" />
</svn>
<echo>Working Copy ${workingcopy.dir} is linked to SVN Repo: ${repository.url}</echo>
<svn svnkit="true">
<wcVersion path="." prefix="svn.wcv." processUnversioned="true" />
<status path="${basedir}" revisionProperty="svn.revision" textStatusProperty="svn.textStatus"
propStatusProperty="snv.propStatus" lastChangedRevisionProperty="svn.lastCommitRevision"
lastCommitAuthorProperty="svn.lastCommitAuthor" />
</svn>
작품