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

Bug 425705

Summary: Built editor includes wrong version of require.js
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2014-01-14 16:09:52 EST
Orion 4.0 release includes require.js version 2.1.5. However from source inspection it looks like the file on our download page built-editor-amd.js includes the wrong version of require.js:

 * @license RequireJS i18n 2.0.2 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.

I suspect our editor build is somehow pulling in a stale copy of require.js.
Comment 1 Silenio Quarti CLA 2014-01-15 10:42:34 EST
I do not think the built stand alone editor includes require.js. It only includes the i18n plugin and it seems to match what is in git:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.core/web/requirejs/i18n.js


Is the i18n plugin in git out dated?
Comment 2 John Arthorne CLA 2014-01-15 16:00:55 EST
You're right Silenio. This bug is invalid. It looks like require.js library actually versions each of their scripts individually. I checked and i18n.js from Require.JS release 2.1.5 has the version header 2.0.2. This does match the source in the following CQ:

https://dev.eclipse.org/ipzilla/show_bug.cgi?id=7139