Author |
Message
|
EAIView |
Posted: Fri Apr 02, 2010 8:13 am Post subject: WMB deployment scripting using Ant and Clearcase |
|
|
Newbie
Joined: 02 Apr 2010 Posts: 1
|
I need info on WebSphere Message Broker deployment scripting using Ant and clearcase. I need to fetch latest code from clearcase & build the BAR file. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 02, 2010 8:34 am Post subject: Re: WMB deployment scripting using Ant and Clearcase |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
EAIView wrote: |
I need info on WebSphere Message Broker deployment scripting using Ant and clearcase. |
What info? Writing Ant scripts & using ClearCase is rather outside the scope of this forum!
There have been some discussions from various people in here who have attempted what you're attempting and you may find these useful. Failing that I think we need something a bit more specific in terms of questions. Like what happened when you ran your Ant script? Is there a problem building the bar file? What?
EAIView wrote: |
I need to fetch latest code from clearcase & build the BAR file. |
Well that is the traditional view of doing this.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JLRowe |
Posted: Sun Apr 04, 2010 4:07 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
I have done something similar:
clearcase - provides ANT tasks - therefore no problem
build BAR - broker toolkit provides a command, you need to wrap this up in your ANT script
deploy - there is a command again or the CMP java classes which give you more control
Of course it would be easier if IBM provided ANT tasks for build and deploy, but with a bit of ANTics (pardon the pun) and perhaps a bit of java it's all very doable.
Next question please... |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Apr 04, 2010 4:42 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
JLRowe wrote: |
Of course it would be easier if IBM provided ANT tasks for build and deploy, but with a bit of ANTics (pardon the pun) and perhaps a bit of java it's all very doable.
|
There is an IBM Book on using ANT & Clearcase if you like reading Dead Tree publications. _________________ 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 |
|
 |
hallmark |
Posted: Tue Apr 06, 2010 5:17 am Post subject: |
|
|
 Voyager
Joined: 10 Mar 2005 Posts: 76
|
I think JLRowe said it all, all I dare to add is to Keep It Simple
I have been writing build and deploy scripts for broker for a while and my biggest obstacle isn't the creation of scripts to do each of the activities it's handing it on to the "implementors" of these scripts...specifically their knowledge of broker deployments tends not to go beyond the drag and drop, and why should it...IBM have supplied a very reliable deployment mechanism...(Devils advocate). Obviously there's no substitute for well written code in this space and adequate documentation.
I think my most useful advice is to keep the actual build and deploy (and clearcase activites to some extent) functions as transparent as possible...this allows people with good broker knowledge but limited ANT knowledge to still feel some sense of security when it comes to doing their job.
What I call the housekeeping side of it can be as complex as you require, i.e. centrialised barfile storage locations, integration with buildforge/cruise control, labelling source control (not just clearcase remember), host connectivity (i.e. ssh to remote servers, deployments via the CMP) but remember you might require support from Broker experts who might quickly need to understand how to get stuff from source to target.
If you have any specific questions and provided they are Message Broker focused enough to satisfy this forum we are (I am sure) happy to help, I'll even discuss clearcase offline.
Rob |
|
Back to top |
|
 |
|