View Single Post
  #3   Spotlight this post!  
Unread 18-02-2012, 09:57
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 71
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Easy way to access SVN revision in code?

This works for ant:

<condition property="isWindows">
<os family="windows" />
</condition>

<target name="do.run.Windows" if="isWindows">
<exec executable="cmd" dir="${your-target-dir}" >
<arg line="/C command-to-run arg1 arg2 arg3" />
</exec>
</target>
Reply With Quote