2011-03-10 55 views

回答

0
'$<!-- SVN info -->' 
'<target name="svn-info">' 
    <svn> 
     <info 
      path="/workspace/project/trunk" 
      committedRevisionProperty="revisionVersion" 
      authorProperty="revisionAuthor" 
      committedDateProperty="revisionDate" 
     /> 
    </svn> 
    <!-- show revision, author and date --> 
    <property 
     name="version" 
     value="At revision ${revisionVersion} by ${revisionAuthor} on ${revisionDate}" 
    /> 
    <echo message="${version}"/> 
</target> 
+0

但在這裏它表明,嵌套的信息標籤是不允許在SVN標籤 – picnic4u 2011-03-15 05:15:01