Versions Compared

Key

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

...

From the DayTrader/branches/2.1.3 directory, type "mvn clean install" to build the project.

Setting up Eclipse

First install eclipse by going to http:/www.eclipse.org and downloading a version of it. These instructions assume version 3.5. Unzip the downloaded file into a directory. You can start eclipse by running eclipse.exe in the eclipse directory.

Next install subclipse, the Subversion Eclipse Plugin:

  1. In Eclipse, go to Help -> Install New software
  2. Click on Add button - Enter Subclipse for Name and http://subclipse.tigris.org/update_1.6.x for location
  3. Select the Subclipse Plugin and click Next -> Next
  4. Read and accept the license and click Finish

Generate eclipse files for the DayTrader project. From the DayTrader/branches/2.1.3 directory, type "mvn eclipse:eclipse"

Set the M2_REPO classpath variable in Eclipse:

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

Import DayTrader projects into Eclipse.

  1. From Eclipse, Click on File -> Import...
  2. Under the General folder, select Existing Projects into Workspace and click on Next.
  3. Enter the root directory of DayTrader/branches/2.1.3
  4. Select all projects and click Finish

Apply the DayTrader Patch

...

You can also Apply an Eclipse Patch

Re-create the DayTrader ear file

From the DayTrader/branches/2.1.3 directory, type "mvn clean install" to build the project.

Run DayTrader on Geronimo

...