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:
grails mix of many frameworks, spring, hibernate etc. frameworks included , need them baseline of grails
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
Post a Comment