U++ framework
Do not panic. Ask here before giving up.

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: Tue May 19 09:40:37 GMT+2 2026

Total time taken to generate the page: 0.00633 seconds