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 » Bar File Meta Data Version Tag

Post new topic  Reply to topic
 Bar File Meta Data Version Tag « View previous topic :: View next topic » 
Author Message
EricCox
PostPosted: Tue Oct 01, 2013 6:17 am    Post subject: Bar File Meta Data Version Tag Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

To all,

How do I tag a bar file with a version meta data tag so that our deployment automation tool can be told to deploy a particular version?

Right now we have the tool scripted to pick up a bar file name, but we need to ensure we deploy a particular version of the bar.

All help is always greatly appreciated.

Thanks,
EMC
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 6:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can set this in the metadata of your JCN jar code.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
EricCox
PostPosted: Tue Oct 01, 2013 6:34 am    Post subject: Pure Compute Node and ESQL Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

We are primarily a pure WMB Compute Node/ESQL shop. We do not build and deploy very much JCN/jar.

Isn't there anything for bar files?

Thanks
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 6:37 am    Post subject: Re: Pure Compute Node and ESQL Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

EricCox wrote:
We are primarily a pure WMB Compute Node/ESQL shop. We do not build and deploy very much JCN/jar.

Isn't there anything for bar files?

Thanks


You have absolutely no JCNs in your code ?

You can add the version keyword to the beginning of ESQL files :

Code:
-- $MQSI_VERSION=1.0.0.1MQSI$

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 01, 2013 6:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.etools.mft.doc/ac26520_.htm
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Oct 01, 2013 7:11 am    Post subject: Re: Pure Compute Node and ESQL Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:


You can add the version keyword to the beginning of ESQL files :

Code:
-- $MQSI_VERSION=1.0.0.1MQSI$


Yeah and watch some releases of subversion/tools either mangle them or ignore them totally.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 7:17 am    Post subject: Re: Pure Compute Node and ESQL Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

smdavies99 wrote:
lancelotlinc wrote:


You can add the version keyword to the beginning of ESQL files :

Code:
-- $MQSI_VERSION=1.0.0.1MQSI$


Yeah and watch some releases of subversion/tools either mangle them or ignore them totally.


Thats why we use the meta-inf folder in the jar. Alas, Eric's environment is severely biased against them.

Java has drawbacks, I'm not saying that it doesn't. But no more or less than any other language. People should get over it. Whether you use ESQL, Java, .Net, PHP, or any other Compute node, they all work and do pretty much the same thing.

As Nancy Pelosi says, "We have to pass the bill before we know whats in it." Even better : Margaret Thatcher ( RIP April 8, 2013 ), "the problem with other people's money is, you eventually run out."
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Oct 01, 2013 7:21 am    Post subject: Re: Pure Compute Node and ESQL Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
As Nancy Pelosi says, "We have to pass the bill before we know whats in it."


Unless you read it. I know I'm not that familiar with American legislation but I suspect they write it somewhere. Or is it Schrodinger's Legislation?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mapa
PostPosted: Wed Oct 02, 2013 9:00 am    Post subject: Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

You could solve your problem by just including the version in the bar-file name...

We keep it fairly simple and do it like this.

CI tool (we manually trigger the job instead of using webhooks or polling trunk):
- bump version number of the CI build job
- create a tag in Subversion that contains the version number
- export the tag (to get correctly updated MQSI keywords in the built bar)
- build the bar file(s)
- packages the bar file with all the other stuff such as automated installscripts, mqsc, docs etc.
- publish the built distributionpackage (one .zip and one .tar.gz) which contains the versionnumber.
- the deployjob then uses the versionnumber to fetch the correct package and deploys it to the environment for that job. (CI tool uses slightly different approaches and there is one build server that deploys to test, and then there is one deploy server for QA and Production, the Prod server only fetches stuff from already built (and tested) deploypackages in Subversion)

Works perfectly but there are probably more fancy ways of doing it.
But at least we succeed with the build once - deploy many that is an important part.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Bar File Meta Data Version Tag
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.