Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Gemini/JPA/Examples/DevelopingInEclipse"
m (→Getting Started) |
m (→Getting Started) |
||
Line 6: | Line 6: | ||
− | == | + | == Required Software == |
You'll need the Helios SR1 release of the [http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1 Eclipse IDE for Java EE Developers] which includes both PDE and the Dali Java Persistence Tools. Note that the Helios SR1 release contains enhanced support for JPA development in OSGi so an earlier release will not suffice. | You'll need the Helios SR1 release of the [http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1 Eclipse IDE for Java EE Developers] which includes both PDE and the Dali Java Persistence Tools. Note that the Helios SR1 release contains enhanced support for JPA development in OSGi so an earlier release will not suffice. | ||
Line 12: | Line 12: | ||
The "correct" way to provision a platform target would be to use P2 however most of the Gemini sub-projects are in incubation and do not yet offer a P2 repository--so we'll setup our target platform manually. | The "correct" way to provision a platform target would be to use P2 however most of the Gemini sub-projects are in incubation and do not yet offer a P2 repository--so we'll setup our target platform manually. | ||
− | Download the following and place all bundles directly into EXAMPLE_ROOT/target: | + | Let's start by creating a new folder for this example which we'll refer to as EXAMPLE_ROOT. |
+ | |||
+ | Download [http://db.apache.org/derby/derby_downloads.html Apache Derby] and unzip into EXAMPLE_ROOT/db-derby-<version>-lib which we'll refer to as DERBY_HOME. | ||
+ | |||
+ | Download the following and place all bundles directly into a EXAMPLE_ROOT/target: | ||
* [http://download.eclipse.org/equinox Equinox Framework], the org.eclipse.osgi bundle. | * [http://download.eclipse.org/equinox Equinox Framework], the org.eclipse.osgi bundle. | ||
* [http://www.eclipse.org/gemini/dbaccess/download Gemini DBAccess] (the latest milestone/release) | * [http://www.eclipse.org/gemini/dbaccess/download Gemini DBAccess] (the latest milestone/release) | ||
* [http://www.eclipse.org/gemini/jpa/download Gemini JPA] (the latest milestone/release) | * [http://www.eclipse.org/gemini/jpa/download Gemini JPA] (the latest milestone/release) | ||
* [http://www.eclipse.org/eclipselink/downloads/nightly.php EclipseLink 2.2] bundles (a build after 29/10/2010) | * [http://www.eclipse.org/eclipselink/downloads/nightly.php EclipseLink 2.2] bundles (a build after 29/10/2010) | ||
+ | |||
+ | == Target Platform Definition == |
Latest revision as of 17:52, 29 October 2010
Under Construction
Developing a Gemini JPA Application in Eclipse with PDE and Dali Java Persistence Tools
Required Software
You'll need the Helios SR1 release of the Eclipse IDE for Java EE Developers which includes both PDE and the Dali Java Persistence Tools. Note that the Helios SR1 release contains enhanced support for JPA development in OSGi so an earlier release will not suffice.
The "correct" way to provision a platform target would be to use P2 however most of the Gemini sub-projects are in incubation and do not yet offer a P2 repository--so we'll setup our target platform manually.
Let's start by creating a new folder for this example which we'll refer to as EXAMPLE_ROOT.
Download Apache Derby and unzip into EXAMPLE_ROOT/db-derby-<version>-lib which we'll refer to as DERBY_HOME.
Download the following and place all bundles directly into a EXAMPLE_ROOT/target:
- Equinox Framework, the org.eclipse.osgi bundle.
- Gemini DBAccess (the latest milestone/release)
- Gemini JPA (the latest milestone/release)
- EclipseLink 2.2 bundles (a build after 29/10/2010)