Hi Paul and Dion,

I guess we can use the optinal ant task javah for that:

http://jakarta.apache.org/ant/manual/OptionalTasks/javah.html

Unfortunalty it seems that this task doesn't consume filesets. Mhm. This may
get awfull if you have to generate
a lot of jni headers. 

A sample would be:

<javah destdir="c" verbose="yes" stubs="yes" old="yes" force="yes">
    <class name="org.foo.bar.Wibble"/>
    <class name="org.foo.bar.Bobble"/>
    <class name="org.foo.bar.Tribble"/>
</javah>

Any suggestions how the plugin should act? Should be pass the class stuff
simply by property-parameters or would
it be nicer to ad some filter to the pom?

So Paul if you could not wait for a generic plugin you could add a temponary
goal to your maven.xml as long as we have plugin.

Bye
Toby

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 12:57 AM
> To: Turbine Maven Users List
> Subject: Re: Is their a javah plugin
> 
> 
> Nope, not yet.
> 
> Feel free to submit one. I'd be happy to help you with it.
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> 
> Paul Spencer <[EMAIL PROTECTED]> wrote on 19/11/2002 
> 01:51:06 PM:
> 
> > I am developing a library written in C that is used by a Java 
> > application via Java's JNI.  As a part the development 
> process, I use 
> > javah to generate the C header files.  Is their a javah 
> plugin that will 
> 
> > do this, or is the their a better way to generate the C 
> header files?
> > 
> > Paul Spencer. 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > 
> 
> > ForwardSourceID:NT0008FC96 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to