ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CP Agrawal" ...@steelwedge.com>
Subject Help with spawn and cmd
Date Wed, 30 Jun 2004 23:47:59 GMT
I am working on windows xp and trying to make following work:
  <target name="weblogic-start" depends="read-prefs">
     <echo message="${deploy.domain.dir}"/>
     <exec dir="${deploy.domain.dir}" executable="cmd.exe" spawn="true"
os= "Windows XP" vmlauncher="false" newenvironment="true">
	<arg value="startWeblogic"/>
    </exec>
  </target>

I have tried several combinations of arg value:
<arg value="/c startWeblogic"/>

<arg value="/k startWeblogic"/>

But none of them launch startWeblogic .

Interestingly, when I make spawn="false" and <arg value="/c
startWeblogic"/> it works.

How can I make spawn work?

Thanks.

-- CP

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message