You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by th...@ascentialsoftware.com on 2001/12/06 03:44:58 UTC
[PATCH] Improvement 5299 - Add append and timeout option to the j
ava task
I just created the improvement in Apache Bug Database.
There is the proposed patch to fix it.
Add an append attribute and timeout attribute to the java command.
append to add to output file if specified.
timeout to stop the command if running for too long.
Java.java modified as well as java.html (corresponding documentation).
Thomas
Re: [PATCH] Improvement 5299 - Add append and timeout option to the java task
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Stefan Bodewig" <bo...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Thursday, December 06, 2001 2:15 AM
Subject: Re: [PATCH] Improvement 5299 - Add append and timeout option to the
java task
> On Wed, 5 Dec 2001, Steve Loughran <st...@iseran.com> wrote:
>
> > I am reasonably happy with these.
>
> Same here.
>
> > ...then add the stuff in ExecuteTask to note timeouts and print
> > them.
>
> Not sure what you mean here.
I meant the stuff I put in to explicitly log timeouts
> One thing that should happen is that we
> provide the append attribute to <exec> (and by this to <apply>) as
> well.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [PATCH] Improvement 5299 - Add append and timeout option to the java task
Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 5 Dec 2001, Steve Loughran <st...@iseran.com> wrote:
> I am reasonably happy with these.
Same here.
> ...then add the stuff in ExecuteTask to note timeouts and print
> them.
Not sure what you mean here. One thing that should happen is that we
provide the append attribute to <exec> (and by this to <apply>) as
well.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [PATCH] Improvement 5299 - Add append and timeout option to the java task
Posted by Steve Loughran <st...@iseran.com>.
I am reasonably happy with these. They do make things more consistent
between exec and java. I'd make two changes to the docs, which are easily
done
a) mention that timeout only matters in a new JVM
b) add some examples
...then add the stuff in ExecuteTask to note timeouts and print them.
I can do these before commiting the changes. Some tests would be nice too,
but I could use some help there.
What does everyone else think?
-steve
ps, thomas, you know you can add the patch into the bugzilla archive as an
alternate submission mechanism?
----- Original Message -----
From: <th...@ascentialsoftware.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, December 05, 2001 6:44 PM
Subject: [PATCH] Improvement 5299 - Add append and timeout option to the
java task
> I just created the improvement in Apache Bug Database.
> There is the proposed patch to fix it.
>
> Add an append attribute and timeout attribute to the java command.
> append to add to output file if specified.
> timeout to stop the command if running for too long.
>
> Java.java modified as well as java.html (corresponding documentation).
>
> Thomas
>
>
----------------------------------------------------------------------------
----
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>