I'm wondering if anyone has successfully integrated Subversion Version control software with Keil? I note that their provided examples don't include Subversion.
My goal is to be able to query Subversion on revision and have that revision auto-handled via the SubWCRev Tortoise command to automatically add version strings and values into my code before the build process begins.
I'd like to see an example project/template for Subversion if anyone has one or can provide a link to one.
Thanks!
I'm wondering if anyone has successfully integrated Subversion Version control software with Keil?
This has been discussed before: http://www.keil.com/forum/docs/thread13105.asp
The feature is called 'Run User Programs Before Build.' It's in the 'Target Options->User' tab: http://www.keil.com/support/man/docs/uv3/uv3_dg_user.htm
The previous thread touches on exactly what I want to do-- the auto-revision with SubWCRev. I don't need subversion tied into Keil for check-in/check-out of code, but rather for the extraction of the revision data. I think subversion has eclipsed CVS in usage and am surprised that Keil doesn't have an example file for subversion.
The Run User programs before build does not function properly with my batch file. My batch file requires user-input and I'm unsure why a batch file that runs fine if I manually open a DOS cmd window and run it, does not work when uV3 opens the DOS cmd window and runs the same batch file.
I did try with and without the DOS16 box checked--no difference. The output of my batch file does make it into the build output window, but with a large number of repeated errors saying 'invalid input'. I see this output when I manually close that dos window. Otherwise the build is put in a holding pattern by the batch user input loop. I trying blindly typing my inputs, but that seems to have no effect.
I'm wondering if I could somehow have the pre-run, call and open a new command window and have that window automatically call my batch file? I'm not a batch file guru by any stretch. But if this is possible, it may solve the issue because that sub-window would not have its output/input redirected. I have doubts this will work though because trying to manually launch a 2nd cmd window from a cmd window doesn't work (at least not on my XP machine).
Thanks for your reply Mike.
Best Regards,
Paul
Sounds like you have some special requirements for your build process and you are having problems trying to perform that process with uVision. uVision may or may not be able to satisfy your build process needs. If it's not, there are alternatives, e.g. make.
uVision may or may not be able to satisfy your build process needs. If it's not, there are alternatives, e.g. make. .... that allow me do do what I want, not what the uVision designers thought I wanted.
Erik