Author |
Message
|
sandeepdaggupati |
Posted: Mon Sep 01, 2008 3:00 pm Post subject: message flow version update on the bar file |
|
|
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 |
|
 |
AkankshA |
Posted: Mon Sep 01, 2008 7:58 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
SVN stands for ?? _________________ Cheers |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 02, 2008 3:23 am Post subject: |
|
|
 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 |
|
 |
sandeepdaggupati |
Posted: Tue Sep 02, 2008 5:34 am Post subject: |
|
|
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 |
|
 |
sandeepdaggupati |
Posted: Tue Sep 02, 2008 11:58 am Post subject: |
|
|
Novice
Joined: 29 Aug 2008 Posts: 11
|
|
Back to top |
|
 |
dertel |
Posted: Wed Sep 03, 2008 9:15 am Post subject: Unable to get version field to populate. |
|
|
 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 |
|
 |
chrisc |
Posted: Wed Sep 03, 2008 3:35 pm Post subject: |
|
|
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 |
|
 |
marko.pitkanen |
Posted: Wed Sep 03, 2008 9:43 pm Post subject: |
|
|
 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 |
|
 |
dertel |
Posted: Thu Sep 04, 2008 4:31 am Post subject: |
|
|
 Novice
Joined: 17 Dec 2003 Posts: 15
|
Thanks Marko. Changing the property was what we needed to do. |
|
Back to top |
|
 |
|