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

Bug 356455

Summary: The html file file tries to load the wrong .js file when a Combo is used on a handler
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Brian Svihovec <svihovec>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Joseph Vincens CLA 2011-09-01 07:52:45 EDT
I put this under js gen, but it's a widget problem.

Combo uses HistoryHelper.
The generated HTML file contains "com/ibm/egl/rui/history/HistoryHelper.js" to load HistoryHelper, but the file is really "org/eclipse/edt/rui/history/HistoryHelper.js".

I looked at the code and deployment is doing 
			String pkg = (String)annot.getValue( "relativePath" );
			String name = (String)annot.getValue( "externalName" );
to get the file location and name. The HistoryHelper widget has
relativePath = "com/ibm/egl/rui/history"

I search the widget project for com/ibm and there are 7 occurances, 6 are relativePath so those widgets will generate incorrectly in the html.
Comment 1 Brian Svihovec CLA 2011-09-01 09:32:32 EDT
Updated relative paths in all widgets.
Comment 2 Joseph Vincens CLA 2011-09-02 22:06:53 EDT
verified