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 » 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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile

Best regards,
Honza
 
Read Message
Read Message
Read Message
Previous Topic: MinGW under Fedora 11
Next Topic: WISH: "Execute" Button & "Rebuild package only" Button
Goto Forum:
  


Current Time: Sat May 11 09:18:02 CEST 2024

Total time taken to generate the page: 0.02774 seconds