THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create a root directory for the download. For this example, we will use a directory called DayTrader.
- Create subdirectories branches/2.1.3 under the DayTrader directory
- cd to DayTrader
- 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.
...
- Go to Window -> Preferences -> Java -> Build Path -> Classpath Variables
- Add a new variable called M2_REPO, set to the maven repository directory mentioned above..
Import DayTrader projects into Eclipse.
...
- Go to the Geronimo console at http://<host>:8080/console and logon
- Select plugins
- Click on Add Repository and add http://geronimo.apache.org/plugins/openjpa2
- Click on Update Repository List
- Make sure the new repository is selected. Then click on Show Plugins in selected repository. On that panel:
- Select GeronimoPlugins, OpenJPA2::CAR 2.1.3-SNAPSHOT and GeronimoPlugins, OpenJPA2::Deployer 2.1.3-SNAPSHOT
- Click on Install
- On the next screen, click on Install
...