ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Lin" <>
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"/>

I got:
Execute failed: CreateProcess: shutdown error=2



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