Agarkar, M (Milind) wrote:
Thanks Jan.
Any idea about how to trap a PID on-the-fly ? It would be a script to run automatically.
use killall, the one stop shop to kill a process by name.
java5 adds jps, to list java processes; jps -v is detailed and gives
java main class
> jps -v
2048 jedit
Hi,
Depends on the process. If it stores its pid in a file, You can do it
like this:
> cat /my/process/pidfile.pid | xargs kill
remeber, that if You do it using exec task in ant, You will need to set
executable to for example /bin/bash and specify the command I wrote as
Best regards,
Chr
Thanks Jan.
Any idea about how to trap a PID on-the-fly ? It would be a script to run
automatically.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 November 2007 13:24
To: user@ant.apache.org
Subject: AW: Stopping a process identified by name
No, there is
David,
Thank you. I am using the contrib var task. That is the one where I am seeing
scoping constraints. What I am now programming is a variable that is set and
checked.
module list is defined in a property file.
generate file name and store it in the va
No, there is no build-in task for that.
You could use in combination of a system command "kill" and the process
id ...
Jan
> -Ursprüngliche Nachricht-
> Von: Agarkar, M (Milind) [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 28. November 2007 14:05
> An: Ant Users List
> Betreff: Sto
Hi,
Is there a way to stop/kill a process running on unix using the ant
script ? Would I need to write a custom task ?
Thanks,
Milind
_
This email (including any attachments to it) is confidential, legally
privileged, subject to copyri
Steve Loughran wrote:
The ant tasks for maven are very similar, but I have found them to be
-at the time I was looking at them for my book - to be of a fairly low
quality. The authors werent heavy Ant users -it was the maven team after
all- and were written with no tests, no reentrancy, and f
Dimitris Mouchritsas wrote:
Thank you everyone. You've given me a lot of food for thought. From
everyone's writings, if I understand correctly, the ant tasks for maven is
nearly the same as ant+ivy, right? I suppose I will start looking into
integrating ivy into a small example project and see wh
Hi David,
David Weintraub wrote:
Are you actually doing something with the properties before doing the
replace? If not, you could use a filter. Unfortunately, doesn't
support the filter directly, but you could copy the property file, then use
the to point to your copy:
Actually, I do.
I fig
Thank you everyone. You've given me a lot of food for thought. From
everyone's writings, if I understand correctly, the ant tasks for maven is
nearly the same as ant+ivy, right? I suppose I will start looking into
integrating ivy into a small example project and see what I'll get from
this. From my
10 matches
Mail list logo