diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 22:24:55 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-11 22:24:55 +1300 |
commit | 230ff57c8880aa8d2f749c76b77b89a4eb3818d8 (patch) | |
tree | 5481f1dbeb165870ec125b09a72545d5bd523922 /package.sh | |
parent | 88ef6c0ee76ad0e35dd8217ec80a5fc8b2852d0d (diff) | |
download | trackermap-web-230ff57c8880aa8d2f749c76b77b89a4eb3818d8.tar.gz trackermap-web-230ff57c8880aa8d2f749c76b77b89a4eb3818d8.tar.bz2 trackermap-web-230ff57c8880aa8d2f749c76b77b89a4eb3818d8.zip |
Add war build script
Diffstat (limited to 'package.sh')
-rwxr-xr-x | package.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package.sh b/package.sh new file mode 100755 index 00000000..d1db4f4a --- /dev/null +++ b/package.sh @@ -0,0 +1,11 @@ +rm -f traccar-web.war +mkdir tmp/ +mv war/WEB-INF/classes/org/traccar/web/client/ tmp/ +mv war/WEB-INF/deploy/ tmp/ +mv war/WEB-INF/lib/mysql-* tmp/ +jar cv -C war/ . > traccar-web.war +mv tmp/mysql-* war/WEB-INF/lib/ +mv tmp/deploy/ war/WEB-INF/ +mv tmp/client/ war/WEB-INF/classes/org/traccar/web/ +rm -r -f tmp/ + |