|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Public Member Functions | |
| GlueGenTask () | |
| void | setDebug (final boolean debug) |
| void | setLogLevel (final String logLevel) |
| void | setDumpCPP (final boolean dumpCPP) |
| void | setOutputRootDir (final String outputRootDir) |
| void | setEmitter (final String emitter) |
| void | setConfig (final String configuration) |
| void | setSrc (final String sourceFile) |
| void | setLiteralInclude (final String commaSeparatedIncludes) |
| PatternSet.NameEntry | createInclude () |
| PatternSet.NameEntry | createIncludesFile () |
| void | setIncludes (final String includes) |
| PatternSet.NameEntry | createExclude () |
| PatternSet.NameEntry | createExcludesFile () |
| void | setExcludes (final String excludes) |
| void | setIncludeRefid (final Reference reference) |
| void | addDirset (final DirSet dirset) |
| Path | createClasspath () |
| void | execute () throws BuildException |
An ANT org.apache.tools.ant.Task for using com.jogamp.gluegen.GlueGen.
Usage:
<gluegen src="[source C file]"
outputrootdir="[optional output root dir]"
includes="[optional directory pattern of include files to include]"
excludes="[optional directory pattern of include files to exclude]"
includeRefid="[optional FileSet or DirSet for include files]"
literalInclude="[optional comma separated list of literal include directories, avoiding limitations of FileSet / DirSet issues]"
emitter="[emitter class name]"
config="[configuration file]"
dumpCPP="[optional boolean]"
debug="[optional boolean]"
logLevel="[optional string]" />
Definition at line 84 of file GlueGenTask.java.
| com.jogamp.gluegen.ant.GlueGenTask.GlueGenTask | ( | ) |
Create and add the VM and classname to org.apache.tools.ant.types.CommandlineJava.
Definition at line 167 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.addDirset | ( | final DirSet | dirset | ) |
Add a nested org.apache.tools.ant.types.DirSet to specify the files to include. This is called by ANT.
| dirset | the DirSet to be added |
Definition at line 366 of file GlueGenTask.java.
| Path com.jogamp.gluegen.ant.GlueGenTask.createClasspath | ( | ) |
Add an optional classpath that defines the location of com.jogamp.gluegen.GlueGen and GlueGen's dependencies.
Definition at line 377 of file GlueGenTask.java.
| PatternSet.NameEntry com.jogamp.gluegen.ant.GlueGenTask.createExclude | ( | ) |
Add an include file to the list that is to be exluded. This is called by ANT for a nested element.
Definition at line 306 of file GlueGenTask.java.
| PatternSet.NameEntry com.jogamp.gluegen.ant.GlueGenTask.createExcludesFile | ( | ) |
Add an exclude file to the list. This is called by ANT for a nested element.
Definition at line 318 of file GlueGenTask.java.
| PatternSet.NameEntry com.jogamp.gluegen.ant.GlueGenTask.createInclude | ( | ) |
Add an include file to the list. This is called by ANT for a nested element.
Definition at line 270 of file GlueGenTask.java.
| PatternSet.NameEntry com.jogamp.gluegen.ant.GlueGenTask.createIncludesFile | ( | ) |
Add an include file to the list. This is called by ANT for a nested element.
Definition at line 282 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.execute | ( | ) | throws BuildException |
Run the task. This involves validating the set attributes, creating the command line to be executed and finally executing the command.
Definition at line 390 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setConfig | ( | final String | configuration | ) |
Set the configuration file name. This is called by ANT.
| configuration | the name of the configuration file |
Definition at line 235 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setDebug | ( | final boolean | debug | ) |
Set the debug flag (optional). This is called by ANT.
Definition at line 184 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setDumpCPP | ( | final boolean | dumpCPP | ) |
Set the dumpCPP flag (optional). This is called by ANT.
Definition at line 202 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setEmitter | ( | final String | emitter | ) |
Set the emitter class name. This is called by ANT.
| emitter | the name of the emitter class |
Definition at line 224 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setExcludes | ( | final String | excludes | ) |
Set the set of exclude patterns. Patterns may be separated by a comma or a space. This is called by ANT.
| includes | the string containing the exclude patterns |
Definition at line 330 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setIncludeRefid | ( | final Reference | reference | ) |
Set a org.apache.tools.ant.types.Reference to simplify adding of complex sets of files to include. This is called by ANT.
?
| reference | a Reference to a org.apache.tools.ant.types.FileSet or org.apache.tools.ant.types.DirSet |
| BuildException | if the specified Reference is not either a FileSet or DirSet |
Definition at line 345 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setIncludes | ( | final String | includes | ) |
Set the set of include patterns. Patterns may be separated by a comma or a space. This is called by ANT.
| includes | the string containing the include patterns |
Definition at line 294 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setLiteralInclude | ( | final String | commaSeparatedIncludes | ) |
Set a literal include directories, separated with a comma. See the literalInclude javadoc for more information.
| commaSeparatedIncludes | the comma separated directories to include |
Definition at line 259 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setLogLevel | ( | final String | logLevel | ) |
Set the logLevel (optional). This is called by ANT.
Definition at line 193 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setOutputRootDir | ( | final String | outputRootDir | ) |
Set the output root dir (optional). This is called by ANT.
| outputRootDir | the optional output root dir |
Definition at line 213 of file GlueGenTask.java.
| void com.jogamp.gluegen.ant.GlueGenTask.setSrc | ( | final String | sourceFile | ) |
Set the source C file that is to be parsed. This is called by ANT.
| sourceFile | the name of the source file |
Definition at line 247 of file GlueGenTask.java.