diff options
author | williamchitto <williamchitto@gmail.com> | 2012-07-31 08:08:53 -0300 |
---|---|---|
committer | williamchitto <williamchitto@gmail.com> | 2012-07-31 08:08:53 -0300 |
commit | f5e305c4ea89210a2e4daffa4e947acdc440fbe7 (patch) | |
tree | ebc542944483e95c9b7374217690fc7bba38ff33 /src/Main.java | |
parent | d9c99fafa2e4d581f473029144aec495cb94bb62 (diff) | |
download | trackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.gz trackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.bz2 trackermap-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.zip |
adicionando classes de testes
Diffstat (limited to 'src/Main.java')
-rw-r--r-- | src/Main.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Main.java b/src/Main.java index 8b6f2002e..783ebe0f6 100644 --- a/src/Main.java +++ b/src/Main.java @@ -6,10 +6,18 @@ public class Main { public static void main(String[] args) throws Exception { final Server service = new Server(); - service.init(args); + String[] argss = new String[1]; + argss[0] = "setup\\windows\\windows.cfg"; + service.init(argss); Log.info("starting server..."); + + service.start(); + + + + // Shutdown server properly Runtime.getRuntime().addShutdownHook(new Thread() { |