Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Generating version header file with SVN on server
Generating version header file with SVN on server [message #23340] Mon, 12 October 2009 10:26 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Some time ago we had wiscussion how could we determine version number on server and include it into U++ code automatically.

Recently I came across some site and saw a kind of solution:

1) Use svnlook utility to get the string containing revision number:
> svnlook youngest <path_to_repository>

2) get it to generate simple header file (actual call depends on OS you use). Actually we may have something like:

revision.h
----------
#define UPP_REVISION 1650
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: German language added to Docking.t of bazar/Docking
Next Topic: Debug and Build U++ from existing code
Goto Forum:
  


Current Time: Sun Apr 27 13:07:23 CEST 2025

Total time taken to generate the page: 0.01356 seconds