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
Re: Generating version header file with SVN on server [message #23341 is a reply to message #23340] Mon, 12 October 2009 10:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Mon, 12 October 2009 04:26

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



Or you can use svnversion to the same effect. But that was not the problem..
 
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 22:13:26 CEST 2025

Total time taken to generate the page: 0.01806 seconds