View Single Post
  #1   Spotlight this post!  
Unread 16-02-2012, 11:23
CyberKitsune's Avatar
CyberKitsune CyberKitsune is offline
Lead Programmer for NeoBots
AKA: Sean McClenaghan
FRC #2903 (NeoBots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Arlington, WA
Posts: 2
CyberKitsune is an unknown quantity at this point
Easy way to access SVN revision in code?

Hello Chief-Delphi,

Our team uses a Subversion server to revise and store our code, and I was wondering if anyone knows a good, platform-independent way to access the SVN revision from within the code of the program.

I've seen a ANT build script that uses svnversion, but that would only work properly on Linux or OSX machines, and it doesn't use the SVN client built-in to NetBeans on Windows.

If anyone has a good method of achieving this, I'd love to know It'd be very helpful for the team I'm in, and likely many others that use Version Control.

-Sean "CyberKitsune"
Lead Programmer for the NeoBots
Reply With Quote