ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Beton <>
Subject Javah Task
Date Tue, 14 Nov 2000 13:03:54 GMT
Stefan Bodewig wrote:

> Richard Beton <> wrote:
> > I now have a javah task. Who might I send it to for inclusion in
> > future versions of Ant?
> is the canonical place for patches and code
> contributions.

Please find new javah attached. It was based on the javac task. I have
commented out the extdirs stuff, because I was not quite sure what was
needed. Also, note that unlike the javac task, javah does not use
reflection to call the constructor, but simply uses the 'new'
operator. Therefore, when the verbose flag is passed to javah, text output
goes to standard output rather than via the ant logging stream.

This javah task has been tested against JDK1.3 and JDK1.2 (new and old JNI
formats). I don't think it works with JDK1.1 or JDK1.0. JDK1.1 tools
appear not to be pure Java, but rather binary executables.


View raw message