JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.gluegen.opengl.ant.StaticGLGenTask Class Reference
Inheritance diagram for com.jogamp.gluegen.opengl.ant.StaticGLGenTask:
Collaboration diagram for com.jogamp.gluegen.opengl.ant.StaticGLGenTask:

Public Member Functions

 StaticGLGenTask ()
 
void setPackage (final String packageName)
 
void setOutputDir (final String directory)
 
PatternSet.NameEntry createHeader ()
 
PatternSet.NameEntry createHeadersFile ()
 
void setHeaders (final String headers)
 
Path createClasspath ()
 
void execute () throws BuildException
 

Detailed Description

An ANT org.apache.tools.ant.Task for using com.jogamp.gluegen.opengl.BuildStaticGLInfo.

Usage:

 <staticglgen package="[generated files package]"
                 headers="[file pattern of GL headers]"
                 outputdir="[directory to output the generated files]" />
Author
Rob Grzywinski rgrzywinski@yahoo.com

Definition at line 69 of file StaticGLGenTask.java.

Constructor & Destructor Documentation

◆ StaticGLGenTask()

com.jogamp.gluegen.opengl.ant.StaticGLGenTask.StaticGLGenTask ( )

Create and add the VM and classname to org.apache.tools.ant.types.CommandlineJava.

Definition at line 103 of file StaticGLGenTask.java.

Member Function Documentation

◆ createClasspath()

Path com.jogamp.gluegen.opengl.ant.StaticGLGenTask.createClasspath ( )

Add an optional classpath that defines the location of com.jogamp.gluegen.opengl.BuildStaticGLInfo and BuildStaticGLInfo's dependencies.

Returns
org.apache.tools.ant.types.Path

Definition at line 177 of file StaticGLGenTask.java.

◆ createHeader()

PatternSet.NameEntry com.jogamp.gluegen.opengl.ant.StaticGLGenTask.createHeader ( )

Add a header file to the list. This is called by ANT for a nested element.

Returns
org.apache.tools.ant.types.PatternSet.NameEntry

Definition at line 144 of file StaticGLGenTask.java.

◆ createHeadersFile()

PatternSet.NameEntry com.jogamp.gluegen.opengl.ant.StaticGLGenTask.createHeadersFile ( )

Add a header file to the list. This is called by ANT for a nested element.

Returns
org.apache.tools.ant.types.PatternSet.NameEntry

Definition at line 155 of file StaticGLGenTask.java.

◆ execute()

void com.jogamp.gluegen.opengl.ant.StaticGLGenTask.execute ( ) throws BuildException

Run the task. This involves validating the set attributes, creating the command line to be executed and finally executing the command.

See also
org.apache.tools.ant.Task::execute()

Definition at line 190 of file StaticGLGenTask.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHeaders()

void com.jogamp.gluegen.opengl.ant.StaticGLGenTask.setHeaders ( final String  headers)

Set the set of header patterns. Patterns may be separated by a comma or a space. This is called by ANT.

Parameters
headersthe string containing the header patterns

Definition at line 166 of file StaticGLGenTask.java.

◆ setOutputDir()

void com.jogamp.gluegen.opengl.ant.StaticGLGenTask.setOutputDir ( final String  directory)

Set the output directory. This is called by ANT.

Parameters
directorythe output directory

Definition at line 131 of file StaticGLGenTask.java.

◆ setPackage()

void com.jogamp.gluegen.opengl.ant.StaticGLGenTask.setPackage ( final String  packageName)

Set the package name for the generated files. This is called by ANT.

Parameters
packageNamethe name of the package for the generated files

Definition at line 120 of file StaticGLGenTask.java.


The documentation for this class was generated from the following file: