Tuesday, April 5, 2011

`sbt package` results in huge war file - how to make it smaller?

Hey all,

I'm currently using SBT to manage my Lift project. I'd like to deploy it, but when I run 'sbt package' it produces a 60MB war file. This seems pretty large - are there ways I could cut down the size?

Thanks!

From stackoverflow
  • Perhaps ProGuard could help.

  • Turns out it was because 'sbt package' was following symlinks and packed all my images into the warfile. Thanks for the tip anyway!

    missingfaktor : You should post this as a comment to Don's answer and delete this post.

0 comments:

Post a Comment