ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jantje <janvanop...@skynet.be>
Subject Continu exec task, while leaving ant
Date Mon, 07 Jul 2008 12:45:22 GMT

Hi there, is it possible to start (in ant) something in a shell and let this
running, while stopping ant. f.i:

  <target name="emulateProjectIso" depends="license, testIsoExists"
description="Emulate the project iso" unless="file.exists">
    <echo level="warning" message="Not supported when booting from live
cd"/>
    <exec executable="/bin/bash" failonerror="true">
      <arg value="-c" />
      <arg value="qemu -no-kqemu -m 512 -cdrom
${basedir}/build/liveCd/iso/project-r*.iso"/>
    </exec>
  </target>

So "ant emulateProjectIso" starts, thr program qemu eulates the cd.. qemu is
still running, but ant has stopped..
-- 
View this message in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-tp18315876p18315876.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message