Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329493 - Unable to create JAXB 2.2 project
Summary: Unable to create JAXB 2.2 project
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 17:14 EDT by Neil Hauge CLA
Modified: 2011-02-08 12:29 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Hauge CLA 2010-11-04 17:14:38 EDT
Currently it isn't possible to create a JAXB 2.2 project due to facet library validation.  Disabling the library validation doesn't help.

Oddly, if you create a JAXB 2.1 project, you are then able to create a JAXB 2.2 project.

Also, the library validation messages still say JPA.
Comment 1 Paul Fullbright CLA 2010-11-29 12:21:42 EST
I don't get this behavior.  I'm able to create a JAXB project with even no library selected.

In fact, I don't even believe that JAXB libraries are hooked up to library validators.

Any further info on this?
Comment 2 Neil Hauge CLA 2010-11-30 13:44:35 EST
I think you need to reproduce in a clean workspace.  If other JAXB projects exist or have existed then you won't see the problem.

One workaround I have found is to go back one wizard page from the JAXB Facet page and then go forward again.  At this point the Finish button becomes enabled.
Comment 3 Paul Fullbright CLA 2010-11-30 14:23:21 EST
Considering the extreme situation required to reproduce this and the easy workaround, I have a hard time giving this a "major".
Comment 4 Neil Hauge CLA 2010-11-30 16:03:26 EST
(In reply to comment #3)
> Considering the extreme situation required to reproduce this and the easy
> workaround, I have a hard time giving this a "major".


Consider the situation:

-User wants to try new JAXB functionality
-User tries to create JAXB project using default selections (2.2 facet, Generic 2.2 platform)
-User sees error message indicating a user library needs to be selected, Finish button is disabled 
-User configures and selects appropriate user library but message does not go away, Finish button still disabled
-User Disables Library Configuration, but message does not go away, Finish button still disabled
-User cancels wizard and tries again with the same result
-User assumes that a JAXB project cannot be created


Workspace doesn't have to be completely clean, just no existing or previously existing JAXB faceted projects.
Comment 5 Karen Butzke CLA 2010-12-01 10:30:19 EST
I'm going to just add this to this bug, since it's somewhat related. If you choose to 'Disable Library Configuration' for the JAXB project, you see a message below it that says 'The JPA facet requires a JPA...', this needs to be changed for JAXB.
Comment 6 Paul Fullbright CLA 2010-12-08 23:39:37 EST
Committed changes (along with props/prefs reorg) for M4
Comment 7 Neil Hauge CLA 2010-12-13 16:34:48 EST
Fixed Disable Library Configuration message for JAXB projects mentioned in comment 0 and comment 5. (for M5)
Comment 8 Jolene Moffitt CLA 2011-02-08 12:29:40 EST
Verified you can create JAXB 2.1 and JAXB 2.2 projects and that that library configuration gave the correct messages for JAXB verses JPA. To see manual test steps go to - http://wiki.eclipse.org/Dali_4.0_M4  Automated Test Suites are being created as well go to http://wiki.eclipse.org/Dali_Automated_Smoke_Test
Verified in Stable Build: S-3.3.0M5-20110127064115