RE: How to kill child process with control-c

2009-05-05 Thread viet nguyen
Thanks for the quick replies. As a workaround I can probably duplicate what jmeter.sh does in Ant, ie specifying all the GC flags, heap sizes, etc and launch java directly. mgainty wrote: > > > your term utility does not have cascade capability > and calling ant exec task creates another p

How to kill child process with control-c

2009-05-05 Thread viet nguyen
I have an exec task (spawn=false) that calls jmeter.sh/jmeter.bat which in turn launches a java process. Control-C only kills ant but does nothing to jmeter java process. I can confirm that jmeter app doesn't have any special shutdown hooks as I can kill the process with control-c when jmeter.sh

Re: AW: how to "echo" exec command

2009-03-06 Thread viet nguyen
erne wrote: > > Start Ant with -verbose or -debug. > > Jan > >>-Ursprüngliche Nachricht- >>Von: viet nguyen [mailto:viet@gmail.com] >>Gesendet: Freitag, 6. März 2009 15:45 >>An: user@ant.apache.org >>Betreff: how to "echo" exec command >

how to "echo" exec command

2009-03-06 Thread viet nguyen
how do I "echo" or display the full command exec is about to run? In my example I should see [exec] VBoxManage controlvm vm poweroff but nothing is shown. ant version=1.7 os = fedora 10 shell=bash, jdk=1.5.8 vbox: [exec] [exec]

Re: basename & variables not working in solaris

2008-08-15 Thread viet nguyen
thanks for your help. jnlp task is the way to go. Dominique Devienne-2 wrote: > > On Wed, Aug 13, 2008 at 9:37 AM, viet nguyen <[EMAIL PROTECTED]> wrote: >> Is there a better way to accomplish what I was trying to do? > > Have you tried with ? Assuming your ja

basename & variables not working in solaris

2008-08-13 Thread viet nguyen
I'm trying to dynamically generate a list of jars in a Java webstart JNLP file in the following format 1. my list of jars 2. For each jar get its basename and build the string