I added this to the top of the build.xml script for the app (after the project tag):
<!-- Write current build and revision #s into Properties file. -->
<target name="updateBuildNumber">
<exec executable="svnversion" dir="" outputproperty="svn.revision" />
<echo>Revision: ${svn.revision}</echo>
<replaceregexp file="Resources/Properties"
match="RevisionNumber=(.*)"
replace="RevisionNumber=${svn.revision}" />
<property environment="env" />
<echo>Build Number: ${env.BUILD_NUMBER}</echo>
<replaceregexp file="Resources/Properties"
match="BuildNumber=(.*)"
replace="BuildNumber=${env.BUILD_NUMBER}" />
</target>