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 » unable to run mqsiapplybaroverride from script

Post new topic  This topic is locked: you cannot edit posts or make replies.
 unable to run mqsiapplybaroverride from script « View previous topic :: View next topic » 
Author Message
pkdec
PostPosted: Mon May 25, 2015 12:13 pm    Post subject: unable to run mqsiapplybaroverride from script Reply with quote

Acolyte

Joined: 12 Feb 2015
Posts: 66
Location: Canada, QC

Hi I have written script to run command mqsiapplybaroverride. I am getting an error saying can not run in the mqsiapplybaroverride.exe

the script I am pasting below.

Code:
<?xml version="1.0"?>
<project name="project" default="run">
  <target name="run" description="">
    <property name="toolkit.home" value="C:\Program Files\IBM\IIB\10.0.0.0" />
    <property name="ant.bars.basedir" value="C:\OutputDIR" />
    <property name="bar.name" value="${ant.bars.basedir}\TestProject.bar" />
    <property name="bar.properties.name"
         value="${ant.bars.basedir}\brokerxml.properties" />

    <antcall target="mqsiapplybaroverride.modifybar" />
  </target>

  <!--
    Target to build the broker archive using mqsiapplybaroverride
  -->
  <target name="mqsiapplybaroverride.modifybar">
    <echo message="Applying overrides in Broker Archive file - ${bar.name} " />
    <echo
      message="${toolkit.home}\server\bin\mqsiapplybaroverride.exe
           -b  ${bar.name} -p ${bar.properties.name}" />
    <exec executable="${toolkit.home}\server\bin\mqsiapplybaroverride.exe" spawn="false">
      <arg value="-b" />
      <arg value="${bar.name}" />
      <arg value="-p" />
      <arg value="${bar.properties.name}" />
    </exec>
    <echo message="Completed apply overrides in Broker Archive file - ${bar.name}" />
  </target>


</project>


I am not sure how to call mqsiapplybaroverride.exe in ant script, I am posting this again and again. I am new to ant script.

I am unable to locate mqsiapplybaroverride in my script please help

thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue May 26, 2015 5:24 am    Post subject: Re: unable to run mqsiapplybaroverride from script Reply with quote

Grand High Poobah

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

pkdec wrote:
I am not sure how to call mqsiapplybaroverride.exe in ant script, I am posting this again and again.


Yes you are, and each time you're told we don't allow double posting.

If you don't get an answer, that's the answer you're getting.

Perhaps you're not getting an answer because you post again and again...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » unable to run mqsiapplybaroverride from script
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.