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

Bug 376436

Summary: Update build optimization step for new require.js
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: RelengAssignee: Project Inbox <orion.releng-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 0.4   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-04-10 15:30:55 EDT
We are moving to requirejs 1.0.7 from 0.24. It seems requirejs has significantly changed shape between those releases and our builds fail. It looks like the optimization tool is now in a separate project called "r.js":

https://github.com/jrburke/r.js/
Comment 1 John Arthorne CLA 2012-04-10 15:33:24 EDT
We are currently trying to just run the optimizer directly from the command line to see if we can figure out the arguments. Here is our latest attempt (still failing):

e4Build@build:/shared/eclipse/e4/orion/I201204101235/optimization> java -classpath "/shared/common/requirejs-1.0.7/lib/closure/compiler.jar" -jar /shared/common/requirejs-1.0.7/lib/rhino/js.jar /shared/common/requirejs-1.0.7/dist/r.js -o orion.build.js optimize=closure name=edit/edit.js appDir=edit baseUrl=..
Comment 2 John Arthorne CLA 2014-03-10 10:35:40 EDT
This was done awhile ago.