Community
Participate
Working Groups
Recent changes for bug 138074 have broken the initial preset in the new project wizard page. In the new JPA project wizard we define a preset Utility JPA Project with Java 5.0 (presets are jst.java v5.0, jst.utility v1.0, jpt.jpa v1.0). In the maintenance release this preset was chosen by default in the Configuration combo box when you created a new JPA project wizard. Now '<custom>' is chosen by default. Also, if you select Modify... in the Configurations section it displays Java with a version of 1.4. If you change nothing on the first page, (which worked in the 1.0.1 maintenance stream) when you finish the wizard the project creation fails (creates an empty project) and it informs you 'One or more constraints have not been satisfied. Java Persistence 1.0 requires Java 5.0 or newer.' Any thoughts? Here is the related plugin.xml code: <extension point="org.eclipse.wst.common.project.facet.core.presets"> <static-preset id="jpt.jpa.preset"> <label>%JPA_PRESET_LABEL</label> <facet id="jst.java" version="5.0"/> <facet id="jst.utility" version="1.0"/> <facet id="jpt.jpa" version="1.0"/> </static-preset> </extension> <extension point="org.eclipse.wst.common.project.facet.core.facets"> ..... <template id="jpt.jpa.template"> <label>%JPA_TEMPLATE_LABEL</label> <fixed facet="jst.java"/> <fixed facet="jst.utility"/> <fixed facet="jpt.jpa"/> <preset id="jpt.jpa.preset"/> </template> .....
Given that at this point only critical fixes are to be released into the M3 code line, I will target this for M4. Let me know if you disagree. Setting severity as major since this is a regression.
Fix released into the 3.0 code stream.