Posted by
Sven Gothel on
Jan 12, 2014; 5:39pm
URL: https://forum.jogamp.org/gluegen-examples-needed-tp4031123p4031180.html
On 01/12/2014 06:33 PM, doofx [via jogamp] wrote:
> Thank you for your answers!
>
> There are lots of jar files that are imported in this file. I hope one of them
> is related to GlueGenTask
> However, i couldn't find any simple example of calling gluegen from build.xml
> file. I'd love to see one if someone has
>
>
On 01/12/2014 04:36 PM, Sven Gothel wrote:
> .. or GlueGen's own unit test, using GlueGen:
>
> <
https://github.com/sgothel/gluegen/blob/master/make/build-test.xml#L494>
>
Allow me to help you giving 'eyes':
Which reads .. a few lines later:
<gluegen src="${test.junit.generation.dir}/test1-gluegen.c"
outputRootDir="${build_t.gen}"
config="${test.junit.generation.dir}/test1-gluegen.cfg"
literalInclude="${test.junit.generation.dir}"
includeRefid="stub.includes.fileset.test"
emitter="com.jogamp.gluegen.JavaEmitter"
dumpCPP="false"
debug="false">
<classpath refid="gluegen.classpath" />
</gluegen>
The following adds the gluegen task ..
<
https://github.com/sgothel/gluegen/blob/master/make/build-test.xml#L104>:
<!-- Add the GlueGen tasks to ANT -->
<taskdef name="gluegen" classname="com.jogamp.gluegen.ant.GlueGenTask"
classpathref="gluegen.classpath" />
~Sven