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 » message flow version update on the bar file

Post new topic  Reply to topic
 message flow version update on the bar file « View previous topic :: View next topic » 
Author Message
sandeepdaggupati
PostPosted: Mon Sep 01, 2008 3:00 pm    Post subject: message flow version update on the bar file Reply with quote

Novice

Joined: 29 Aug 2008
Posts: 11

Can we achive the automatic version property update in message flow with SVN?
I have been trying to achive this for a few days now with no luck.


Any help on this is appreciated!
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Sep 01, 2008 7:58 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

SVN stands for ??
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Sep 02, 2008 3:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

AkankshA wrote:
SVN stands for ??

Subversion / Subclipse. Like PVCS it is a versioning system.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sandeepdaggupati
PostPosted: Tue Sep 02, 2008 5:34 am    Post subject: Reply with quote

Novice

Joined: 29 Aug 2008
Posts: 11

SVN is some what similar to CVS (Version controlling tool).

I have followed the instructions that are provided in the below post

http://www.mqseries.net/phpBB2/viewtopic.php?t=28067 but its not working in SVN.

So, my question is can we automatically update the version in SVN?
Back to top
View user's profile Send private message
sandeepdaggupati
PostPosted: Tue Sep 02, 2008 11:58 am    Post subject: Reply with quote

Novice

Joined: 29 Aug 2008
Posts: 11

It is working now.
Back to top
View user's profile Send private message
dertel
PostPosted: Wed Sep 03, 2008 9:15 am    Post subject: Unable to get version field to populate. Reply with quote

Novice

Joined: 17 Dec 2003
Posts: 15

We are not able to set the version dynamically for the message flows. We use CVS and have a plug in that interacts with the broker toolkit. Following are the steps we followed

1) Right clicked the message flow background selected Properties.
2) In Version typed $id$ (We also tried $Id$).
3) Saved the message flow and checked the message flow project in CVS.
4) Checked out the message flow and added it to the bar file. (We were expecting the CVS version to be seen but we see $Id$ in the bar file under version. )
5) The same thing is seen when the flow is deployed.

Are we missing something? Can someone please help?
Back to top
View user's profile Send private message
chrisc
PostPosted: Wed Sep 03, 2008 3:35 pm    Post subject: Reply with quote

Voyager

Joined: 19 Mar 2006
Posts: 77

I've seen this behaviour on previous projects where we used CVS and / or PVCS, where some message flows containing $Id$ (or the equivalent for that version control system) in the message flow properties were never replaced when it went into the version control system.

I'm guessing that there must be something about the way the .msgflow files are saved that occasionally causes the substitution string to be broken up somehow, meaning SVN/CVS/PVCS/whatever can't find the string to do the replacement on. But that is really just a guess on my part rather than any hard facts.

In our case it was an irritation rather than a show-stopper, so we didn't bother investigating further. If it is a real problem for you, perhaps you should raise a PMR with IBM to discuss it, and see if there are any workarounds / fixes.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Wed Sep 03, 2008 9:43 pm    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

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

And for sub flows you have to use Passthrough node and its Label property and perhaps give a unique keyword based on for example sub flows name ($MQSI test_subflow.msgflow=$Revision: 1.0 $ $Date: 2008/09/04 08:40:00 $ $Author: marko $ MQSI$)

And commit flows and esql:s to cvs before you build a bar.

That works at my env.

Marko
Back to top
View user's profile Send private message Visit poster's website
dertel
PostPosted: Thu Sep 04, 2008 4:31 am    Post subject: Reply with quote

Novice

Joined: 17 Dec 2003
Posts: 15

Thanks Marko. Changing the property was what we needed to do.
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 » message flow version update on the bar file
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.