ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Combs, Clint" <>
Subject RE: [PATCH] - Handling long Commandline on external co mpilation
Date Mon, 02 Oct 2000 20:37:31 GMT

Interrupts such as Ctrl-C are handled nicely by the method
java.lang.Runtime.addShutdownHook(Thread) that was added in JDK 1.3.  This
may be a way to handle this issue... at least on JDK 1.3.


-----Original Message-----
From: Diane Holt []
Sent: Monday, October 02, 2000 4:29 PM
Subject: Re: [PATCH] - Handling long Commandline on external

--- Nico Seessle <> wrote:
> As suggested several times meanwhile Javac now uses a temp. file if the
> commandline is longer than a very small limit (4k seems to be a
> POSIX-Standard).

Just a note: If I interrupt ant during a compile, I get jikes-<longnum>
files left around. (And sometimes, jikes processes lying around as well.)
I seem to remember someone (Pete?) saying java doesn't handle interrupts
-- can that be right? If it actually can handle them, then <javac> should
clean up these files (along with the jikes process). If it can't... :(



Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!

View raw message