How can one request a debug build from javac without changing the ant scripts?

Posted by mark on Stack Overflow See other posts from Stack Overflow or by mark
Published on 2012-11-29T15:12:21Z Indexed on 2012/11/29 17:04 UTC
Read the original article Hit count: 319

Filed under:
|

I have a complex build system involving many ant scripts, some targets of which invoke the javac task.

These ant scripts do not provide for a way to request a debug build from javac, i.e. neither debug nor debuglevel parameters of the javac task are specified.

Is it still possible to instruct javac to build with debugging support without changing the build scripts themselves?

The scripts are invoked from console.

© Stack Overflow or respective owner

Related posts about ant

Related posts about javac