AW: Writing new task: javani

2010-04-28 Thread Jan.Materne
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

RE: Writing new task: javani

2010-04-28 Thread Mark Bednarczyk
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

AW: Writing new task: javani

2010-04-28 Thread Jan.Materne
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

RE: Writing new task: javani

2010-04-28 Thread Mark Bednarczyk
Hi Jan, thanks for pointing that out. I couldn’t 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. It’s targeted toward C++ en