This guide assumes you are using Eclipse as your IDE for the AGIS code and have followed the instructions on setting_up_the_agis_project_in_eclipse.
To build the AGIS jar click on File at the top left of Eclipse and choose Export.
At the Jar File Specification window, expand out your project and tick each package inside the project (as pictured). Set the export destination (make sure the file is called agis.jar) and click Finish.
Testing your exported jar file is easy. Just replace the existing agis.jar in the dist/lib folder of the server and start up the server!