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

Bug 386841

Summary: Use node.js for client-side build optimization
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: RelengAssignee: Project Inbox <orion.releng-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-08-08 10:28:24 EDT
The build script currently runs the r.js AMD optimizer using Rhino. It should run it through node.js instead.

The advantage is that we'd be using the V8 JavaScript parser rather than Rhino's, so minor syntax issues (extra commas, use of reserved words like 'char', etc) would no longer break the optimization.
Comment 1 Mark Macdonald CLA 2012-08-14 10:45:09 EDT
This would mean, however, that we'd have to use the uglify compressor for minification, since Google Closure is only available when running r.js from Java.
Comment 2 John Arthorne CLA 2015-05-05 16:18:07 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html