aboutsummaryrefslogtreecommitdiff
path: root/package.bat
diff options
context:
space:
mode:
Diffstat (limited to 'package.bat')
-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/