[Play 2.5] Assets.jar vs Webjars during production mode

31 views
Skip to first unread message

Fong Huang Yee

unread,
Jul 21, 2016, 6:37:28 AM7/21/16
to play-framework
Hi Guys,

When we use 'activator clean state' or 'activator dist', play will generate 2 jars. Let's say the application name is 'app', we will found 2 jars app.assets.jar and app.jar. Assets.jar have all the public files meanwhile there is a folder under app.jar /META-INF/resources/webjars/app/ actually has the same files with assets.jar. Our app public folder is around 500mb, so everytime when we try to update our app we need to transfer more than 1GB. 

My question is is there anyway we can update our app without sending our assets (if assets is not updated)
Reply all
Reply to author
Forward
0 new messages