aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-02-13 16:03:17 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-02-13 16:03:17 +1300
commitd132abb4d0a4b55ab1894b72d69d7c31da41d1ee (patch)
treed695f5d0f1009a285828703cda3b60b70e402acf
parentf879ded84778b261485ce388d2e4bd9686ea2a79 (diff)
downloadtrackermap-web-d132abb4d0a4b55ab1894b72d69d7c31da41d1ee.tar.gz
trackermap-web-d132abb4d0a4b55ab1894b72d69d7c31da41d1ee.tar.bz2
trackermap-web-d132abb4d0a4b55ab1894b72d69d7c31da41d1ee.zip
Add Windows package script
-rwxr-xr-xpackage.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/package.bat b/package.bat
new file mode 100755
index 00000000..afcc943c
--- /dev/null
+++ b/package.bat
@@ -0,0 +1,8 @@
+rm -f traccar-web.war
+md tmp
+mv war/WEB-INF/deploy/ tmp/
+mv war/WEB-INF/lib/h2-* tmp/
+jar cv -C war/ . > traccar-web.war
+mv tmp/h2-* war/WEB-INF/lib/
+mv tmp/deploy/ war/WEB-INF/
+rm -r -f tmp/