Skip to content

Instantly share code, notes, and snippets.

@koizuss
Created November 10, 2011 13:38
Show Gist options
  • Save koizuss/1354865 to your computer and use it in GitHub Desktop.
Save koizuss/1354865 to your computer and use it in GitHub Desktop.
groovy AntBuilderでログ出力
def ant = new AntBuilder()
ant.record(name: 'sample.log', loglevel: 'debug', emacsmode: false, append: false)
// -> http://www.jajakarta.org/ant/ant-1.5/docs/ant-1.5/j/docs/manual/CoreTasks/recorder.html
ant.copy(file: 'antlog.groovy', tofile: 'antlog.groovy.sample')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment