Versions in unicon can be problematic, especially for those of us with 
several hundred production level programs running on various machines. My 
solution is not to call the unicon program directly, but to call a shell 
script which, for program stocks0.icn, recompiles the unicon program if 
it was compiled by an earlier unicon version:

#!/bin/bash
cd /home/ptho/projects/unicon-proj/messaging
./iconx -V ./stocks0
if [[ $? -ne 0 ]] ; then
    unicon stocks0
fi
./stocks0

--Phillip


On Mon, 5 Aug 2013, Bruce & Breeanna Rennie wrote:

> Good morning Jafar,
>
> Thank you. That will work just as well as anything else. I can track by the 
> revision number. It is only used to make sure that I am actually running the 
> correct binaries.
>
> regards
>
> Bruce Rennie
>
> On 08/05/2013 01:44 AM, Jafar Al-Gharaibeh wrote:
>>
>>     Just an aside, I have downloaded the latest svn source, and the
>>     version date has not changed. Under what circumstances does this
>>     change?
>> 
>> 
>> I'm not sure if there is any well defined rule for changing version date. 
>> In theory, this has to be changed every time a commit has been made to svn, 
>> but this doesn't sound practical. The version date gets updated when the 
>> version number changes. Other than that, usually the version date gets 
>> updated every few months to reflect new changes/fixes to the language. 
>> Icon/Unicon version number historically has only major and minor numbers, 
>> but misses a revision number to reflect small gradual changes. Having the 
>> same concerns you have, few months ago we decided to add few pieces of 
>> information to "-features" output, which include the revision number. Here 
>> are the new "fields":
>> 
>> CCompiler gcc 4.7.2   # C compiler/version used to build unicon
>> Revision 3516         # source code svn revision number at the
>>                       # time of building unicon
>> Arch x86_32           # 32 or 64 build
>> 
>> These are still experimental and might not be correct on all platforms, but 
>> they are there. You can use the reversion number  to tell if two Unicon 
>> builds are different, even if they have the same version date.
>> 
>> Cheers,
>> Jafar
>> 
>> 
>
>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to