Stefan Bodewig wrote:

> Richard Beton <[EMAIL PROTECTED]> wrote:
>
> > I now have a javah task. Who might I send it to for inclusion in
> > future versions of Ant?
>
> [EMAIL PROTECTED] 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 com.tools 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.

Rick


Attachment: javah.tar.gz
Description: GNU Zip compressed data

begin:vcard 
n:Beton;Richard
tel;pager:ICQ: 56840977
tel;cell:MSN/Hotmail: [EMAIL PROTECTED]
tel;fax:01794 833434
tel;work:01794 833458
x-mozilla-html:TRUE
url:http://www.beton.freeserve.co.uk/
org:Roke Manor Research Limited;Internet Technology & Networks
adr:;;Roke Manor: http://www.roke.co.uk/;;;SO51 0ZN;UK
version:2.1
email;internet:[EMAIL PROTECTED]
title:Internet Consultant
note;quoted-printable:The information contained in this e-mail is confidential and must =0D=0Anot be passed to any third party without permission. This =0D=0Acommunication is for information only and shall not create =0D=0Aor change any contractual relationship. =0D=0A
fn:Rick Beton
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to