Author |
Message
|
bhanu_palnati |
Posted: Tue Nov 25, 2008 3:47 am Post subject: hepl required for deploying a bar file using ANT Script |
|
|
Newbie
Joined: 20 Aug 2008 Posts: 9
|
Could any one please hepl me to sort out the problem for writting an ANT Script for deploying a bar file
i am getting this error while running the script
[exec] The system cannot find the path specified. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 25, 2008 4:02 am Post subject: Re: hepl required for deploying a bar file using ANT Script |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bhanu_palnati wrote: |
The system cannot find the path specified. |
Well without knowing what your ant script is actually doing, and where it's failing it's hard to be certain.
I'd take a stab that whatever id is running the script doesn't have mqsiprofile and the environment for the commands isn't set up correctly.
Just a stab though. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bhanu_palnati |
Posted: Tue Nov 25, 2008 4:23 am Post subject: Re: hepl required for deploying a bar file using ANT Script |
|
|
Newbie
Joined: 20 Aug 2008 Posts: 9
|
this how my script lokks like
<?xml version="1.0"?>
<project name="project" default="run">
<target name="run" description="">
<property name="mqsi.dir" value="C:\Program Files\IBM\MQSI\6.1\bin" />
<property name="bar" value="C:\Documents and Settings\miracle\IBM\wmbt61\workspace1\Servers\Amar.bar" />
<property name="ipaddress" value="localhost" />
<property name="port" value="2415" />
<property name="queuemgr" value="WBRK61_DEFAULT_QUEUE_MANAGER" />
<property name="broker" value="WBRK61_DEFAULT_BROKER" />
<property name="exegroup" value="default" />
<antcall target="mqsideploy.deploybar" />
</target>
<!--
Target to build the broker archive using mqsicreatebar
-->
<target name="mqsideploy.deploybar">
<!-- <exec executable="${mqsi.dir}\mqsideploy.bat" spawn="false"> -->
<exec executable="${mqsi.dir}\mqsideploy.bat" failonerror="true" logError="true" vmlauncher="false" append="true">
<arg value="-i" />
<arg value="${ipaddress}" />
<arg value="-p" />
<arg value="${port}" />
<arg value="-q" />
<arg value="${queuemgr}" />
<arg value="-b" />
<arg value="${broker}" />
<arg value="-e" />
<arg value="${exegroup}" />
<arg value="-a" />
<arg value="${bar}" />
</exec>
</target>
</project>
and for this script i am getting the error |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 25, 2008 4:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Please see here for a rant about multiple postings.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bhanu_palnati |
Posted: Tue Nov 25, 2008 4:44 am Post subject: ant script |
|
|
Newbie
Joined: 20 Aug 2008 Posts: 9
|
sir ,
i had all profiles correctly but still its not working.Before i had written a script for create bar file it worked properlbut for deploying its not working |
|
Back to top |
|
 |
|