...
the distro target will create a distribution folder in your build_output folder. This dist folder will contain a lib folder with all the jars from the project lib folder, as well as the contents of the src folder packaged as a jar. Also in the dist folder is your README.txt file and a bin folder that contains the sample batch file provided with the project. To test the distribution you can cd into your
%path%\groovyquickstart\build_output\dist\bin and run the file "run.bat". This launch script will print the help message:
usage: runner [option]
h,- "-h" help Print out this message containing help.
n,- "-n" name <name to greet> The name of the user to be greeted.
r,- "-r" run Runs some target.
v,- "-v" version Print version information.
...
This sample Runner class demonstrates how to use the CLI builder to read parameters from the command line and to execute a class in the project, based on those parameters.
...