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

Bug 493028

Summary: [tern18] Requirejs dependencies are loaded strangely
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public
Version: 12.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screen shot none

Description Michael Rennie CLA 2016-05-04 14:45:28 EDT
Created attachment 261470 [details]
screen shot

See the attached screen shot - after the inferring is done and we try to activate open decl or open impl there is a weird incorrect path showing up as a "jump to" match.
Comment 1 Curtis Windatt CLA 2016-05-04 15:02:34 EDT
You need to visit the file require_dep1 itself.  We save the module under the define name ('./files/foo').  Then when you visit the file we save it under its absolute name ('files/foo').
Comment 2 Michael Rennie CLA 2016-05-04 16:06:18 EDT
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4625be6f61b109d57403725e6fee0131303e3e48

It was happening because of new strangeness with running all of the plugins at once, coupled with not properly creating a 'wrapping' module to propagate into.

All tests pass