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

Bug 355624

Summary: Compile Error after creating a client project
Product: z_Archived Reporter: Song Fan <songfan>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: greer, pharmon, songfan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Song Fan CLA 2011-08-24 04:57:29 EDT
Build Identifier: development build

Steps to reproduce:
1. create a client project
2. In the project creation wizard, select dojo widgets from dojotoolkit.org and RICH UI widgets.
3. You will find 88 compile error in the problems view, such as:

Description	Resource	Path	Location	Type
IWN.JavascriptGen.1003.e 11/331 Missing template org.eclipse.edt.mof.egl.Handler for type.	Shadow.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 11	EDT Generation Problem
IWN.JavascriptGen.1003.e 42/1543 Missing template org.eclipse.edt.mof.egl.ArrayType for type.	Box.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 42	EDT Generation Problem
IWN.JavascriptGen.1003.e 60/1769 Missing template org.eclipse.edt.mof.egl.ArrayType for type.	Tree.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 60	EDT Generation Problem
IWN.JavascriptGen.1003.e 74/3531 Missing template org.eclipse.edt.mof.egl.ArrayType for type.	GridLayout.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 74	EDT Generation Problem
IWN.JavascriptGen.9998.e 10/349 Exception occurred: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.MemberNameImpl incompatible with java.lang.String	TreeNode.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 10	EDT Generation Problem
IWN.JavascriptGen.9998.e 11/331 Exception occurred: 	Shadow.egl	/org.eclipse.edt.rui.widgets_0.7.0/EGLSource/org/eclipse/edt/rui/widgets	line 11	EDT Generation Problem


Reproducible: Always

Steps to Reproduce:
1. create a client project
2. In the project creation wizard, select dojo widgets from dojotoolkit.org and RICH UI widgets.
3. You will find 88 compile error in the problems view
Comment 1 Paul Harmon CLA 2011-08-24 15:12:14 EDT
When loading the dojo widgets, I found a class cast exception that was stopping the compiler. I have released this change to EGL2MofBase.

Some of the other validation errors that I see are because of references to types like Time that are not supported in EDT, and references to system functions that are not in EDT.

Scott Greer is in the process of working on a major update to the JS generator for the widgets.


Scott, could you please update this bug when you release your changes?
Comment 2 Paul Harmon CLA 2011-09-15 08:20:54 EDT
I believe everything is cleared up for the widget and dojo projects now
Comment 3 Song Fan CLA 2011-10-20 04:53:10 EDT
fixed