Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362143 - Generated Java code got error in "import" statements when using external type
Summary: Generated Java code got error in "import" statements when using external type
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 22:24 EDT by Xin Wu CLA
Modified: 2017-02-23 14:19 EST (History)
2 users (show)

See Also:


Attachments
LdapRuiServices in EDT (104.98 KB, application/x-zip-compressed)
2011-10-26 22:28 EDT, Xin Wu CLA
no flags Details
LdapRuiServices RBD (only source files) (55.00 KB, application/x-zip-compressed)
2011-10-26 22:41 EDT, Xin Wu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xin Wu CLA 2011-10-26 22:24:03 EDT
Build Identifier: 20111026 nightly build

Generated Java code got error in "import" statements when using external type.

Reproducible: Always

Steps to Reproduce:
1. Download the attached EDT EGL project, import to your workspace
2. Make sure there is no EGL compile error and see the EGL file "common.LDAPExternalTypes.egl". This was modified based on project in RBD.
3. See the file "common.LDAPLib.java" in generatedJava, there are some error in import statements.
4. For example: 
"import java.util.Hashtable<String,String>;"
"import java.lang.String[];"

5. The generated code in RBD got no error, you may see the comparable RBD project attached.
Comment 1 Xin Wu CLA 2011-10-26 22:28:41 EDT
Created attachment 206041 [details]
LdapRuiServices in EDT
Comment 2 Xin Wu CLA 2011-10-26 22:41:21 EDT
Created attachment 206042 [details]
LdapRuiServices RBD (only source files)
Comment 3 Xin Wu CLA 2011-10-26 22:43:12 EDT
For the upload size limitation, I only upload the source files of project in RBD. You may import the project by 
RBD Help => Samples => EGL => Rich UI access to LDAP
Comment 4 Jeff Douglas CLA 2011-10-27 16:37:31 EDT
fixed
Comment 5 Xin Wu CLA 2011-10-30 22:31:46 EDT
Verified in build 20111030