Remove debugging output from running jjs scripts
This commit is contained in:
parent
63a7b155d8
commit
6b734dc009
|
@ -154,7 +154,6 @@ class BuildPlugin implements Plugin<Project> {
|
||||||
/** Runs the given javascript using jjs from the jdk, and returns the output */
|
/** Runs the given javascript using jjs from the jdk, and returns the output */
|
||||||
private static String runJavascript(Project project, String javaHome, String script) {
|
private static String runJavascript(Project project, String javaHome, String script) {
|
||||||
File tmpScript = File.createTempFile('es-gradle-tmp', '.js')
|
File tmpScript = File.createTempFile('es-gradle-tmp', '.js')
|
||||||
println "TMP: ${tmpScript.toString()}"
|
|
||||||
tmpScript.setText(script, 'UTF-8')
|
tmpScript.setText(script, 'UTF-8')
|
||||||
ByteArrayOutputStream output = new ByteArrayOutputStream()
|
ByteArrayOutputStream output = new ByteArrayOutputStream()
|
||||||
ExecResult result = project.exec {
|
ExecResult result = project.exec {
|
||||||
|
|
Loading…
Reference in New Issue