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

Bug 359190

Summary: There are some compiling errors in generated Java while referencing some parts in other project
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P1 CC: jeffdouglas, mheitz, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Java Errors
none
Projects interchange
none
build20111007 none

Description Thomas Wu CLA 2011-09-28 04:24:13 EDT
Build Identifier: 20110926

Create two EGL projects in EDT, one project reference some parts in the other project. There is no compiling error in EGL files but there are some errors in generated Java codes. 

Reproducible: Always

Steps to Reproduce:
Please import the projects from PI. After build, you will see some Java comiling errors.
Comment 1 Thomas Wu CLA 2011-09-28 04:26:00 EDT
Created attachment 204149 [details]
Java Errors
Comment 2 Thomas Wu CLA 2011-09-28 04:27:25 EDT
Created attachment 204150 [details]
Projects interchange
Comment 3 Jeff Douglas CLA 2011-09-30 23:10:36 EDT
fixed
Comment 4 Thomas Wu CLA 2011-10-08 01:46:49 EDT
I tried on the build of 20111007, but the issue is still exist. Please refer to screenshot.
Comment 5 Thomas Wu CLA 2011-10-08 01:48:00 EDT
Created attachment 204785 [details]
build20111007
Comment 6 Jeff Douglas CLA 2011-10-18 11:01:39 EDT
This works fine for me. I found several problems in your project however. Please fix these:
1) your main proj needs to have a java build path pointing at the base proj
2) you are generating example. javagen and jsgen generators. The example and javagen are both producing java files and they conflict because the names are the same

Remove the example generator.

This works fine and I have all of the most recent code.
Comment 7 Lisa Lasher CLA 2011-11-09 14:13:34 EST
This high severity defect was fixed several weeks ago, so I am closing.