Add Windows package script

This commit is contained in:
Anton Tananaev 2014-02-13 16:03:17 +13:00
parent f879ded847
commit d132abb4d0

8
package.bat Executable file
View File

@ -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/