try using exec to copy files to tomcat lib