Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Albenejean on December 28, 2007, 09:07:28 pm

Title: SVN revision and date
Post by: Albenejean on December 28, 2007, 09:07:28 pm
Hi everyone.

I have just build CodeBlocks from sources. It works!!
However when I launch it, I got svn revision 0 and unknown date.

How can I change this?
Title: Re: SVN revision and date
Post by: stahta01 on December 28, 2007, 09:11:52 pm
FYI:

I plan to add things to check as I think of them.

1. Verify you have SVN installed.
2. Add the path to the SVN.exe file to "Additional Paths" for the Compilier



Tim S
Title: Re: SVN revision and date
Post by: Albenejean on December 28, 2007, 09:18:33 pm
I've got Tortoise SVN.

I've followed http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook (http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook).

As it's the first time I've build CB, so i have perhaps missed something...
Title: Re: SVN revision and date
Post by: Jenna on December 28, 2007, 09:26:50 pm
You have to install a command-line-version of (subversion) svn too.
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91)
Title: Re: SVN revision and date
Post by: stahta01 on December 28, 2007, 09:37:14 pm
You have to install a command-line-version of (subversion) svn too.
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91)

This is correct, but I use a different source for my SVN.exe

Info Link: http://downloads.open.collab.net/collabnet-subversion.html

I use the CollabNet Subversion Command Line Client Windows XP
Download Link: http://www.open.collab.net/servlets/OCNDownload?id=CSVNWINC

Tim S
 
Title: Re: SVN revision and date
Post by: Albenejean on December 28, 2007, 09:46:43 pm
Stahta01, your answer was too late... I've downloaded the programs that Jens gave me..... And it works!!! My svn revision is 4760 now!!!

Thanks both of you!
Title: Re: SVN revision and date
Post by: wobien on January 06, 2008, 01:20:23 pm
2. Add the path to the SVN.exe file to "Additional Paths" for the Compilier
I have the same problem (SVN 0 and no date).
I installed SVN.exe, but where can I find the "Additional Paths" option for the Compiler?
Title: Re: SVN revision and date
Post by: Albenejean on January 06, 2008, 05:10:19 pm
Quote
I installed SVN.exe, but where can I find the "Additional Paths" option for the Compiler?
I don't remember I have done this (I have check, I have nothing in Additional paths).

But it's located Settings+>Compiler and debugger+>Toolchain executable->Additional paths.
Title: Re: SVN revision and date
Post by: JGM on January 06, 2008, 05:44:54 pm
Adding the path of the svn executable to the Enviroment Variable "Path" will work. This is by right clicking My Computer -> Properties -> Advanced -> Enviroment Variables -> System Variables -> Path and Edit
Title: Re: SVN revision and date
Post by: wobien on January 06, 2008, 08:50:39 pm
Thank you. The path was allready in the environment (SVN must have put it there when installed), but when I checked it, it struck me that SVN had installed itself in Program Files, so I replaced it to a folder without spaces.
That worked.