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

Bug 370463

Summary: Minimal JPA 2.0 Configuration and Minimal JPA 1.0 Configuration removed
Product: [WebTools] Dali JPA Tools Reporter: Kenneth Cheung <kennethc>
Component: GeneralAssignee: dali.general-inbox <dali.general-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: ktsao, paul.fullbright, theivend
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kenneth Cheung CLA 2012-02-02 11:26:56 EST
Build Identifier: Version: 3.7.1 Build id: M20111214-1406

Minimal JPA 2.0 Configuration and Minimal JPA 1.0 Configuration are no longer available in New JPA Project Wizard.

Looking at /org.eclipse.jpt.jpa.core/plugin.xml
The preset of the template is commented out:

		<template id="jpt.jpa.template">
			<label>%JPA_TEMPLATE_LABEL</label>
			<fixed facet="jpt.jpa"/>
			<fixed facet="java"/>
			<!--
			<preset id="jpt.jpa.2_0.preset"/>
			-->
		</template>

Is that intentional?  If so what is the replacement?  Thanks!

Reproducible: Always
Comment 1 Paul Fullbright CLA 2012-02-16 21:40:29 EST
The replacement is the default configuration for whatever runtime is chosen.  It was asked of us to remove this minimal configuration as it removed the ability of runtime developers to control the default facets chosen for a particular runtime.  If you choose a runtime, you pretty much get the minimal configuration, plus whatever else the runtime developer determines should be default facets for that particular project.
Comment 2 Leonard Theivendra CLA 2012-02-22 10:59:40 EST
Hi Paul, in the newer Dali based on eclipse 3.7.x+, is the utility facet no longer chosen by default by the New JPA Project wizard?
Comment 3 Paul Fullbright CLA 2012-02-22 11:22:35 EST
It's no longer *required*.  So no, it's no longer chosen by default.