I have the following:
All in the same folder.
Now I w
You can do this via Ant as shown with a full example here. See the Compiling and running with Ant section.
You'll have to download ant, make sure the ANT_HOME and JAVA_HOME variables are set, and put the ANT_HOME/bin in your PATH.
Once you have the build.xml in place, you can call ant at the command line which will run the build.xml
More details on the Groovy ant task here