|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
com.jogamp.gluegen.opengl.ant.StaticGLGenTask
public class StaticGLGenTask
An ANT org.apache.tools.ant.Task
for using BuildStaticGLInfo
.
Usage:
<staticglgen package="[generated files package]" headers="[file pattern of GL headers]" outputdir="[directory to output the generated files]" />
Constructor Summary | |
---|---|
StaticGLGenTask()
Create and add the VM and classname to org.apache.tools.ant.types.CommandlineJava . |
Method Summary | |
---|---|
Path |
createClasspath()
Add an optional classpath that defines the location of BuildStaticGLInfo
and BuildStaticGLInfo 's dependencies. |
PatternSet.NameEntry |
createHeader()
Add a header file to the list. |
PatternSet.NameEntry |
createHeadersFile()
Add a header file to the list. |
void |
execute()
Run the task. |
void |
setHeaders(String headers)
Set the set of header patterns. |
void |
setOutputDir(String directory)
Set the output directory. |
void |
setPackage(String packageName)
Set the package name for the generated files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticGLGenTask()
Create and add the VM and classname to org.apache.tools.ant.types.CommandlineJava
.
Method Detail |
---|
public void setPackage(String packageName)
Set the package name for the generated files. This is called by ANT.
packageName
- the name of the package for the generated filespublic void setOutputDir(String directory)
Set the output directory. This is called by ANT.
directory
- the output directorypublic PatternSet.NameEntry createHeader()
Add a header file to the list. This is called by ANT for a nested element.
org.apache.tools.ant.types.PatternSet.NameEntry
public PatternSet.NameEntry createHeadersFile()
Add a header file to the list. This is called by ANT for a nested element.
org.apache.tools.ant.types.PatternSet.NameEntry
public void setHeaders(String headers)
Set the set of header patterns. Patterns may be separated by a comma or a space. This is called by ANT.
headers
- the string containing the header patternspublic Path createClasspath()
Add an optional classpath that defines the location of BuildStaticGLInfo
and BuildStaticGLInfo
's dependencies.
public void execute() throws BuildException
Run the task. This involves validating the set attributes, creating the command line to be executed and finally executing the command.
BuildException
org.apache.tools.ant.Task#execute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |