ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting the version number of MF/MS populated dynamically

Post new topic  Reply to topic
 Getting the version number of MF/MS populated dynamically « View previous topic :: View next topic » 
Author Message
mqxplorer
PostPosted: Tue Dec 13, 2011 8:57 am    Post subject: Getting the version number of MF/MS populated dynamically Reply with quote

Master

Joined: 22 Jun 2009
Posts: 206

Hi All,

I have gone through some dicsussion tpoics in this forum regarding getting the version number of MF/MS poulated dynamically from source control, however, I could not get it done successfully.

One of the discussion topics I have gone through was http://www.mqseries.net/phpBB2/viewtopic.php?t=28067&postdays=0&postorder=asc&start=0

We are using V7 broker and Visual Source Safe (VSS) as source control. I have followed the instructions in some of the disucssion topics and specified '$id$' for the message flow in the 'Version' field of the message flow 'Properties' and checked into VSS. I checked out the file from VSS and built the bar and deployed to broker. In the EG when I see the flow info by clicking on the flow, I see just $id$ in the 'Version' info. I thought I would get the version info from VSS and will show the version number.

I have read something from another thread ...

Quote:
To make keyword substitution work you have to change ascii/binary property to ASCII -kkv for you flows and esql files etc.


I tried doing it this way...

Right click on message flow and select the 'Resource' option and select the radio button 'Other' for the option 'Text file encoding' on the right hand side and selected US-ASCII from the drop down list.

It still does not work.

Do I have to ask my VSS admin to change any settings in VSS also?

Thanks in advance.

Thanks
mqxplorer
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 13, 2011 9:02 am    Post subject: Re: Getting the version number of MF/MS populated dynamicall Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqxplorer wrote:
I thought I would get the version info from VSS and will show the version number.


Why would you think that? According to [url=http://msdn.microsoft.com/en-us/library/d826hy97(VS.80).aspx]this[/url] the $Id$ keyword isn't one of those supported by VSS (of which my knowledge is mostly what Mr Google just told me). IHMO what you want is $Revision:$

mqxplorer wrote:
Do I have to ask my VSS admin to change any settings in VSS also?


You'd certainly have to in SubVersion (where the $Id$ keyword is supported).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Dec 13, 2011 2:58 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Try this
$MQSI Version=$Revision: $MQSI$ to the Long description of the message flow.
Back to top
View user's profile Send private message
mqxplorer
PostPosted: Thu Dec 15, 2011 7:37 am    Post subject: Reply with quote

Master

Joined: 22 Jun 2009
Posts: 206

Sam Uppu wrote:
Try this
$MQSI Version=$Revision: $MQSI$ to the Long description of the message flow.


The deployed bar with the above specification in the flow long description displays like below.

Code:
Version   $Revision: $


Should I have to ask my VSS admins to make any changes so that version from VSS will be dynamically picked up?

Thanks
mqxplorer
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Thu Dec 15, 2011 11:15 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

The one I suggested is good for CVS.

mqxplorer wrote:

Should I have to ask my VSS admins to make any changes so that version from VSS will be dynamically picked up?



You can give a try.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting the version number of MF/MS populated dynamically
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.