Author |
Message
|
isaw |
Posted: Thu Jun 07, 2007 1:16 am Post subject: [?] Remove deployed bar via cmd console? |
|
|
Apprentice
Joined: 09 May 2007 Posts: 45
|
Hey guys,
I've been tasked with creating some Ant scripts that our config/deploy team can use for *somewhat* generic source code retrieval, bar file build & deploy.
And for the most part that's all fine and works. However what I am stuck with, is how to get an already deployed bar file 'undeploy' via the command console.
I have tried using the "-m" option in my 'mqsideploy' command but I was told by the powers that be they'd rather have a single executable script that can clean down the exegroup in preparation for a bar deployment.
Does anyone have any suggestions? I did try a search on the forums but couldnt find anything related to "manual remove deployed bar file".
Thanks! |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 07, 2007 1:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You could always delete and recreate the execution group. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
isaw |
Posted: Thu Jun 07, 2007 2:04 am Post subject: |
|
|
Apprentice
Joined: 09 May 2007 Posts: 45
|
Yes, i think that's what it will be then. Can't see any mqsi* commands to cover a bar file removal.
Thanks Jeff. |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Jun 07, 2007 3:54 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
No, there aren't any commands to do BAR file removal, as the execution groups deal with the deployed BAR file contents rather than the BAR files themselves.
An alternative to the suggestions already given is to use a Config Manager Proxy application: use ExecutionGroupProxy.deleteDeployedObjects() or ExecutionGroupProxy.deleteDeployedObjectsByName(). |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Thu Jun 07, 2007 7:19 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
|
Back to top |
|
 |
|