package incremental creates very large binary

31 views
Skip to first unread message

bblfish

unread,
Jan 26, 2013, 1:24:02 PM1/26/13
to play-fram...@googlegroups.com

./package.sh incremental 

seems to create twice the size of package from what it did a month ago. I have it that it producing something over 200MB
whereas a month ago it was more like 140MB. This seems to be due to it's packaging a lot of 2.9x files in addition to 
2.10 ones...


bblfish

unread,
Jan 26, 2013, 6:33:23 PM1/26/13
to play-fram...@googlegroups.com, jonath...@gmail.com
Ah yes, the problem is the default script in Play. Jonathan Dray wrote one that cuts the 

James Roper

unread,
Jan 27, 2013, 3:44:15 PM1/27/13
to bblfish, play-fram...@googlegroups.com, jonath...@gmail.com
The incremental build won't delete old dependencies from the package (our method of packaging dependencies is very crude, we just copy everything from the ivy cache), so if we did an upgrade of Scala for example, you'll get all the old ones and all the new ones.


--
 
 



--
James Roper
Software Engineer

Typesafe - The software stack for applications that scale
Twitter: @jroper

Henry Story

unread,
Jan 28, 2013, 2:24:08 AM1/28/13
to James Roper, play-fram...@googlegroups.com, jonath...@gmail.com
On 27 Jan 2013, at 21:44, James Roper <james...@typesafe.com> wrote:

The incremental build won't delete old dependencies from the package (our method of packaging dependencies is very crude, we just copy everything from the ivy cache), so if we did an upgrade of Scala for example, you'll get all the old ones and all the new ones.

Ah yes. Jonathan Day wrote the script for Travis where it always starts with a clean platform, so the "incremental" is ok there.

It turns out that Travis does not have enough memory or time to correctly compile Play2 any more. 
At least we can't  it to work anymore.

So I had to go back to doing in manually on my local machine, in order to then publish a TLS version of play with support
for client certificates. Jonathan's script there worked correctly and gave me a reasonable sized build:





On Sun, Jan 27, 2013 at 10:33 AM, bblfish <henry...@gmail.com> wrote:
Ah yes, the problem is the default script in Play. Jonathan Dray wrote one that cuts the 
resulting build by half here:

https://github.com/bblfish/Play20/blob/TLS/framework/package.sh


On Saturday, 26 January 2013 19:24:02 UTC+1, bblfish wrote:

./package.sh incremental 

seems to create twice the size of package from what it did a month ago. I have it that it producing something over 200MB
whereas a month ago it was more like 140MB. This seems to be due to it's packaging a lot of 2.9x files in addition to 
2.10 ones...



--
 
 



--
James Roper
Software Engineer

Typesafe - The software stack for applications that scale
Twitter: @jroper

Social Web Architect

Reply all
Reply to author
Forward
0 new messages