ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Lin" <derek...@hotmail.com>
Subject How to use ant to shutdown and start jboss (exec?)
Date Thu, 07 Nov 2002 06:58:08 GMT
Does anyone know how I can use ant to shutdown and start jboss, or any console command execution?

I have:
  <target name="restart-jboss" depends="set-properties">
    <exec executable="shutdown" dir="${jboss.home}/bin" output="c:\temp\out.log"/>
  </target>

I got:
Execute failed: java.io.IOException: CreateProcess: shutdown error=2

Thanks,

Derek

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message