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

Bug 322565

Summary: JAXB schema from classes, can't select a different project
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JAXBAssignee: Tran Le <tranle1>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, neil.hauge
Version: 3.0   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2010-08-12 13:35:40 EDT
If you select a project in the Project Explorer and then choose the toolbar button New -> Other -> JAXB -> Schema from JAXB Classes it automatically selects the project you had selected in the project explorer. There is no way to change the project unless you start the wizard with no selection in the Project Explorer.

The best thing to do here would be to allow the project selection on the same page as the schema name and class selection instead of it being on a separate first page.
Comment 1 Neil Hauge CLA 2010-08-19 17:14:26 EDT
This should be addressed with other wizard enhancements that are ongoing.  Targeting this to M2 to insure this functionality is included.
Comment 2 Neil Hauge CLA 2010-08-19 18:15:18 EDT
(In reply to comment #1)
> This should be addressed with other wizard enhancements that are ongoing. 
> Targeting this to M2 to insure this functionality is included.

Decided that this would be done in the next iteration of wizard enhancements, so this won't be a part of the current work.

You can currently generate the schema to any location, but this UI should be updated to look like the New XML File wizard, where you select the parent folder and the file name on the first page.

We should also open up the class selection to allow selection from any location in the workspace. (this might have been what the original intent of the bug was)

For JAXB Class Gen, the intro project selection page is going to be removed and replaced by the source folder selection allowing selection from any source folder in the workspace.  This will unify the destination configuration.
Comment 3 Tran Le CLA 2010-09-27 10:43:41 EDT
Completed in 3.0 M2
Comment 4 Jolene Moffitt CLA 2010-10-05 16:34:36 EDT
Verified in Dali build 3.3.0M2-20100923155521

Verified when you select Schema from JAXB Classes that no matter how you select it, via menu, toolbar, etc.. you can select the project.