DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Getting Build Number For Ant Build In Continuum

03.04.2007
| 4470 views |
  • submit to reddit
        Getting build number for Ant build in Continuum

   
<timestampselector property="mostrecentlog">
<path>
<fileset dir="${user.dir}/../../cont-output/1">
<include name="*.log.txt" />
</fileset>
</path>
</timestampselector>			

<basename property="reportsDirName" file="${mostrecentlog}" suffix=".log.txt">
</basename>