ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@us.ibm.com
Subject Re: [PATCH]: Added maxmemory option to javadoc task
Date Thu, 23 Mar 2000 15:21:04 GMT


Jay Handfield wrote:
>Your idea of having the Javadoc task inherit from the Java task also
>seems like a good idea.  My only concern is how should we handle someone
>turning fork off in the Javadoc task?  Is this legal or do we prevent it
>in the code?

The execute code could check this and throw a buildException, otherwise it
call super.execute().

The problem is that Javadoc calls System.exit.  If you don't fork, you
never get control back.

- Sam Ruby



Mime
View raw message