On Thu, Jul 4, 2013 at 5:00 PM, zdenko podobny <[email protected]> wrote:

> On Tue, Jul 2, 2013 at 8:52 PM, Tom Morris <[email protected]> wrote:
>
>> On Tue, Jul 2, 2013 at 12:50 PM, zdenko podobny <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I thought about increasing version number in svn to be able to
>>> distinguish devel version from released version, but I was not sure about
>>> version number. Up to this time it was Ray Smith who changed it after
>>> his/google code contribution...
>>> Probably we can set it to 3.02.03 - there are just bugfixes and small
>>> improvement related to tesseract executable... I can do it during weekend.
>>>
>>> Are there any other ideas?
>>>
>>
>> I've actually a fan of having the build process include the SVN rev or
>> date in the version so that you have something that you know is always
>> increasing.  You could use something along the lines of:
>>
>>   REVISION=`svn info | grep Revision| cut -f 2 -d " "`
>>
>> and then concatenate that to your base version number.
>>
>> I see there small problems:
>
>    - svn version number is increased also for wiki changes...
>
> I don't see why this matters as long as it increases every time the code
changes and is always a unique value.

>
>    - I do not know how to implement it for VC++
>
> StackOverflow references a couple of different solutions.  Here's one:
http://stackoverflow.com/questions/151299/embedding-svn-revision-number-at-compile-time-in-a-windows-app


>
>    - I should remove it (svn revision number) from (future) release
>    version..
>
> I don't think that's necessary.  Lots of products include build numbers or
revision numbers in their full version string.

Tom

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to