aboutsummaryrefslogtreecommitdiff
path: root/src/Main.java
diff options
context:
space:
mode:
authorwilliamchitto <williamchitto@gmail.com>2012-07-31 08:08:53 -0300
committerwilliamchitto <williamchitto@gmail.com>2012-07-31 08:08:53 -0300
commitf5e305c4ea89210a2e4daffa4e947acdc440fbe7 (patch)
treeebc542944483e95c9b7374217690fc7bba38ff33 /src/Main.java
parentd9c99fafa2e4d581f473029144aec495cb94bb62 (diff)
downloadtraccar-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.gz
traccar-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.tar.bz2
traccar-server-f5e305c4ea89210a2e4daffa4e947acdc440fbe7.zip
adicionando classes de testes
Diffstat (limited to 'src/Main.java')
-rw-r--r--src/Main.java10
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() {