Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 488908

Summary: Orion release builds bloated with unused files
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: RelengAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, jlittlej, steve_northover
Version: 11.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2016-03-02 18:16:16 EST
A user informed me that the Orion release builds currently contain a bunch of extra files for each minified module. For example, the edit page from the Orion 11 release:

…org.eclipse.orion.client.ui_2.0.0.v20160224-0310.jar/web/edit/
  edit.js
  edit.js.map
  edit.js.src.js     *
  edit.js.src.map    *
  built-edit.js      *
  built-edit.js.map  *
  built-edit.js.src  *

The files marked * are useless -- they are never loaded by the browser (not even for source maps), and they increase the size of the edit folder by 3x.

I think some previous version(s) of the build produced those additional files. Since we never clean the workspace used by Hudson jobs [1], official Orion builds have been shipping these vestigial files ever since.

They should be removed.


[1] This problem was caused by bug 436174. Because the build pollutes the working tree itself, we need to run something like `git clean -fd` on the build workspace to remove the garbage.
Comment 1 Steve Northover CLA 2016-03-06 18:02:59 EST
Mark, do you know how to fix this?  If easy, can you just do it?
Comment 2 Steve Northover CLA 2016-03-07 09:31:57 EST
Mark, if you are not able to get to this easily/quickly, just say so.
Comment 3 Mark Macdonald CLA 2016-03-07 22:08:24 EST
I think we can delete the git clone in the Hudson workspace, forcing the builkd to clone it from scratch, and that will clear out the old junk.

Not sure if I have permission to do that -- will check tomorrow.
Comment 4 Mark Macdonald CLA 2016-03-08 20:42:56 EST
I cleaned the Hudson workspaces, and the unwanted files appear to be gone.

https://hudson.eclipse.org/orion/job/orion-client-stable/
https://hudson.eclipse.org/orion/job/orion-client-dev/