Skip to content

Instantly share code, notes, and snippets.

@slemarchand
Created May 12, 2013 23:00
Show Gist options
  • Select an option

  • Save slemarchand/5565282 to your computer and use it in GitHub Desktop.

Select an option

Save slemarchand/5565282 to your computer and use it in GitHub Desktop.
final def SCRIPT_ID = "MYSCRIPT"
outputFile = new File("""${System.getProperty("liferay.home")}/scripting/out-${SCRIPT_ID}.txt""")
out.println(outputFile.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment