|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--com.i3sp.ant.JavaH
Ant task for executing javah.
This task will run javah on the given java classes. The user must
Ant task for executing javah. This task will run javah on the given java classes.
Attribute | Description | Required |
destdir | Where to place the generated files. | Yes |
jni | (boolean)Set the -jni flag on javah. | No |
classpath | The classpath to pass to javah. | No |
Optionally, the user can pass the nested attribute classpath or classpathref (A reference).
The user must give 1 or more class elements.
<javah destdir="${basedir}/gensrc" jni="true" classpath="${basedir}/classes"> <class value="com.i3sp.util.logging.SyslogForwarder" /> </javah>
Constructor Summary | |
JavaH()
|
Method Summary | |
org.apache.tools.ant.types.Commandline.Argument |
createClass()
Create a nested class element |
org.apache.tools.ant.types.Path |
createClasspath()
Maybe creates a nested classpath element. |
void |
execute()
|
void |
setClasspath(org.apache.tools.ant.types.Path cp)
Set the classpath to be used for this compilation |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere |
void |
setDestdir(java.io.File destDir)
Set the destination directory into which the JSP source files should be compiled |
void |
setJni(boolean jni)
Set the jni flag to javah |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaH()
Method Detail |
public void setDestdir(java.io.File destDir)
public void setJni(boolean jni)
public void setClasspath(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Commandline.Argument createClass()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |