how to programmatically run the gluegen emitter in java

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to programmatically run the gluegen emitter in java

Chris Zheng
I've asked on https://stackoverflow.com/questions/52257767/how-to-programmatically-run-the-gluegen-emitter-in-java and thought I'd ask here as well. The gluegen manual https://jogamp.org/gluegen/doc/manual/#SecAnt only has a section on running the library as an ant task.

I'm hoping to run the generator programatically and was looking for an example of how this might be done.
Reply | Threaded
Open this post in threaded view
|

Re: how to programmatically run the gluegen emitter in java

gouessej
Administrator
Hello

You can call directly com.jogamp.gluegen.GlueGen instead of using com.jogamp.gluegen.ant.GlueGenTask. You'll have to put the right version of Antlr into your classpath. Good luck.

P.S: By the way, this way of running GlueGen is possible but undocumented, don't expect to find a working example.
Julien Gouesse | Personal blog | Website