01: package com.martiansoftware.nailgun.builtins;
02:
03: import com.martiansoftware.nailgun.NGConstants;
04: import com.martiansoftware.nailgun.NGContext;
05:
06: /**
07: * Displays the version of the NailGun server and exits.
08: *
09: * @author <a href="http://www.martiansoftware.com/contact.html">Marty Lamb</a>
10: */
11: public class NGVersion {
12:
13: public static void nailMain(NGContext context) {
14: context.out.println("NailGun server version "
15: + NGConstants.VERSION);
16: }
17: }
|