we get optimizejar.py to reorder file structure in zip for optimization but we should have js version of optimizejar.py for master branch.
BTW, the python version of that program is actually the 2nd version. I wrote the original version in C, and it might be easier to understand. https://bug552121.bugzilla.mozilla.org/attachment.cgi?id=432276 That version doesn't have a special optimization that puts a readahead size in front of the zip though. But, it's available as a reference in case it could be helpful.
cool and we should try to migrate optimizejar.[py|js] to webapp-zip.js then we don't have second pass to optimizejar.
it would be better if log files are moved to $APP/build/.
Hi George, any progress for this issue?
feel free to reopen and take it if anyone is interest. the challenge here is js doesn't support python nor c native api well, so it requires xpcom's magic api to handle it. It requires more time to implement it, and it's not so urgent for now.