Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » version.h problem
Re: version.h problem [message #24821 is a reply to message #24819] |
Sun, 31 January 2010 18:23   |
|
Hi Koldo!
I just recently talked to Mirek about this. I was suggesting using svn hook to fill it (see this thread). But when I investigated more, I found out, it's actually not possible by the means of subversion.
Moreover, I've learned that it is actually stupid idea to have automatically generated files under version control. It is a) unnecesary overload b) possible source of problems. The correct way is implementing this in build procces.
If you are building from src packages from google, this was already done by the script on the infrastructure server and version.h is filled with correct revision.
If you're building from svn checkout, you should determine the version from the svn and feed it into the version.h. You can use svnversion tool or look on in .svn/entries, line 4.
If you are using the builddeb script I wrote and it's not working, then I'm publicly ashamed and will supply patch ASAP 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Wed Apr 30 05:29:03 CEST 2025
Total time taken to generate the page: 0.04957 seconds
|