To turn your adapter into a "task" you could do a presetdef then:
Jan
>-Ursprüngliche Nachricht-
>Von: Mark Bednarczyk [mailto:voyte...@yahoo.com]
>Gesendet: Mittwoch, 28. April 2010 12:52
>An: 'Ant Developers List'
>Betreff: RE: Writing new task: javani
>
>Yes I just looked at
Yes I just looked at it. It provides a JavahAdapter and I can plug my code
in very easily into it using 'implementation' parameter.
Which invokes JavaNITask and passes up all the declared parameters,
including a list of classfile names. Right now the task can work as
standalone t
If you have much in common with javah, you should have a look at task.
http://ant.apache.org/manual/OptionalTasks/javah.html
Maybe you could reuse some of its code.
Jan
>-Ursprüngliche Nachricht-
>Von: Mark Bednarczyk [mailto:voyte...@yahoo.com]
>Gesendet: Mittwoch, 28. April 2010 10
Hi Jan,
thanks for pointing that out.
I couldnt find any ANT tasks that generate C wrapper functions, have no
additional runtime requirements and allow custom JNI to java peering/binding
implementation.
There is one project JNI++ which I have looked at before. Its targeted
toward C++ en