Building JAR files with debug info - how to use ant?

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

Building JAR files with debug info - how to use ant?

billyork23
I'm new to ANT and can't figure out how to make javac pass the debug flag with the JOGL build.xml

Does anyone know how to do this?

Reply | Threaded
Open this post in threaded view
|

Re: Building JAR files with debug info - how to use ant?

Cyrille
I am not sure to understand... Which javac's flag are you talking about? As far as I know, there is no particular flag to use at compile time to be able to debug java code.
Maybe would you like to compile the c native code with debug symbols? In that case, I found the "c.compiler.debug" flag in the xml files in the "make" subdirectory of Jogl source code that did the trick for me.

Otherwise, may you precise your need?

-Cyrille
Reply | Threaded
Open this post in threaded view
|

Re: Building JAR files with debug info - how to use ant?

billyork23
I think I figured it out. The jogl makefile specifies source and lines for debug information in compiled class files but variable info is not included.

I'll tweak the build XML file to include variable information and should be all set.

Bill