Any gradle gurus around here - please help. Thanks. ---------- Forwarded message ---------- From: Roshan Dawrani <[email protected]> Date: Sun, Dec 13, 2009 at 2:38 PM Subject: Debugging the groovyc process forked by gradle? To: [email protected]
Hi, I need to look into one groovy issue and for that I need to debug the groovyc process that is forked by gradle. Could someone please let me know how to pass the compiler args in the gradle script to do the same? I tried compileTestGroovy.options.compilerArgs = [[value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777"]] (fails with "org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, [-FXrunjdwp:transport=dt_sockeress=7777] (The system cannot find the file specified)") and compileTestGroovy.options.compilerArgs = ["-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777"] (fails with "org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Invalid commandline usage for javac: invalid flag: -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777 Usage: javac <options> <source files> where possible options include: -g Generate all debugging info ... ") Thanks, Roshan
