Community
Participate
Working Groups
Currently, the NEW JET project wizard generates the Java package name for compiled output as follows: 1) Project name is used to derive the plug-in id. Since plug-in id's are limited to [A-Za-z0-9], _ and ., any invalid characters are mapped to _. The ID limitation is imposed by the OSGi specification. 2) The following wizard defaults are then generated from the plug-in: * Default Java Package * Transformation Name * Template Loader (uses Default Java Package) In the case where the JET project name is in some non-roman language (e.g. Arabic, Japanese), this results in transformation/plug-in IDs and Java package names that contain nothing but _ and . The current wizard behavior is identical to the PDE new plug-in wizard, but must lead to considerable confusion to some users. Possible solutions: * Drive the Java package names directly from the project name, not the plug-in ID. Disadvantage: this is counter to best practices where Java code in a plug-in matches the namespace established by the plug-in ID. * Derive the project name from the plug-in ID. That is, let the user enter the plug-in first. Disadvantage: this is different from many Eclipse new project wizards.