<javah>
The <javah> task is a wrapper to the javah utility shipped with the JDK. This utility is used for generating the header and stub files for the Java Native Interface (JNI). As you can see from Table 5.12 the attributes to this task are the same as the command-line options.
Attributes | Description |
---|---|
class | A comma-separated list of fully qualified classes that will be processed. (Required) |
outputfile | The name of the file for the resulting headers. (Required, if no destdir specified) |
destdir | The directory where JavaH will save the header/stub files. (Required, if no outputfile specified) |
force | The JavaH flag to make sure all the output files are written. |
old | This is to allow the old JDK1.0 header files ... |
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.