|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mqsideploy with Ant |
« View previous topic :: View next topic » |
Author |
Message
|
lancelotlinc |
Posted: Fri Jul 01, 2011 9:54 am Post subject: mqsideploy with Ant |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Greetings, now that i have a workspace with no Red-X's and bar files created by mqsicreatebar, I want to deploy those bars to a location using Ant. When invoking mqsideploy from Ant, I get the usual mqsiprofile error since Ant task has not sourced the mqsiprofile. Has anyone figured out a slick way to include the mqsiprofile in an Ant deployment script. I can think of a few alternatives, but they seem very messy, convoluted, and generally not platform agnostic. Please share your experiences using Ant to deploy bar files. Lance _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jul 01, 2011 11:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I typically solve this by running the mqsiprofile in the command environment that actually starts ant.
I've seen a clever solution here somewhere from smdavies66 that used the semicolon to run more than one command in the ant task executable parameter. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Jul 01, 2011 11:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
I typically solve this by running the mqsiprofile in the command environment that actually starts ant.
I've seen a clever solution here somewhere from smdavies66 that used the semicolon to run more than one command in the ant task executable parameter. |
Thanks mqjeff but it should be smdavies99!.
Ok, it is friday.
From memory it goes something like this
Code: |
. /opt/ibm/mqsi/7.0/bin/mqsiprofile;mqsideploy ....
|
_________________ 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 |
|
 |
Vitor |
Posted: Fri Jul 01, 2011 11:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
Thanks mqjeff but it should be smdavies99!.
|
He's probably doing his Arnold The Bat impression again & posting while hanging upside down from the ceiling.
Or has accidently engaged the Australian character set on his keyboard. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Jul 02, 2011 6:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
smdavies99 wrote: |
Thanks mqjeff but it should be smdavies99!. |
oops:
smdavies99 wrote: |
Ok, it is friday. |
Yes. I was gonna just use your first name, but then I realized that might be gauche, but then I was too lazy to double-check. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|