#! /usr/bin/perl
# vim: noet ts=4 sts=4 sw=4 fenc=utf-8 :

use warnings;

if(!-e "libs"){
	mkdir "libs";
}

open(EX, "jarlist");
while(<EX>){
	chomp;
	system "cp war/WEB-INF/lib/$_ libs/";
}
system "tar czf libs.tgz libs/";
system "rm -rf libs";
