Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a root directory for the download. For this example, we will use a directory called DayTrader.
  2. Create subdirectories branches/2.1.3 under the DayTrader directory
  3. cd to DayTrader
  4. Issue the following subversion command:
         svn checkout https://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3 branches/2.1.3https://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3

Build DayTrader

You must have maven installed in order to build DayTrader. Maven can be downloaded from http://maven.apache.org/download.html. Unzip the file to a directory and run mvn.bat|.sh in the bin subdirectory to install. Add the bin subdirectory to you system path.

...

  1. Go to Window -> Preferences -> Java -> Build Path -> Classpath Variables
  2. Add a new variable called M2_REPO, set to the maven repository directory mentioned above..

Import DayTrader projects into Eclipse.

...

  1. Go to the Geronimo console at http://<host>:8080/console and logon
  2. Select plugins
  3. Click on Add Repository and add http://geronimo.apache.org/plugins/openjpa2Image Removed
  4. Click on Update Repository List
  5. Make sure the new repository is selected. Then click on Show Plugins in selected repository. On that panel:
    1. Select GeronimoPlugins, OpenJPA2::CAR 2.1.3-SNAPSHOT and GeronimoPlugins, OpenJPA2::Deployer 2.1.3-SNAPSHOT
    2. Click on Install
  6. On the next screen, click on Install

...