Grails war size is more than 60 MB by default -


i'am working on grails 2.4.5 project , observed war file size whopping 80 mb.

so, tried sample grails 2.4.5 project without additional dependencies , created war. it's 60 mb.

may know what's reason behind this? without additional jars why war size big?

i went through lib folder in war file , saw compile time dependencies grails plugins present there.as per knowledge, runtime dependencies should appear in war. right?

hi reason following:

  1. grails mix of many frameworks, spring, hibernate etc. frameworks included , need them baseline of grails

  2. every grails application comes many plugins default (look buildconfig.groovy): cache, asset, scaffolding... name few. every plugin has own dependencies classes, jars, js... of them add up

sollution: war , jar containers. open them favorite unzip program , check

anyway don't see point in having "large" war file. maybe answers helps in understanding reason why.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -