KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > martiansoftware > nailgun > builtins > NGVersion


1 package com.martiansoftware.nailgun.builtins;
2
3 import com.martiansoftware.nailgun.NGConstants;
4 import com.martiansoftware.nailgun.NGContext;
5
6 /**
7  * Displays the version of the NailGun server and exits.
8  *
9  * @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 " + NGConstants.VERSION);
15     }
16 }
17
Popular Tags