Thanks, but the <exec/> task does not have an fork attribute in the documentation. And when just implementing this, I get the next error:
BUILD FAILED /home/afstudeerwerk/project/build.xml:194: exec doesn't support the "fork" attribute Olivier Gies wrote: > > Use the "spawn" and "fork" attributes of <exec> task (see Ant User manual > for usage) > > -----Message d'origine----- > De : jantje [mailto:[EMAIL PROTECTED] > Envoyé : lundi 7 juillet 2008 20:45 > À : user@ant.apache.org > Objet : Continu exec task, while leaving ant > > > 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-tp18315876p1831 > 5876.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-tp18315876p18317634.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]