Versions Compared

Key

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

...

  1. Install: Eclipse IDE for Java EE Developers

...

  • Extract files
  • tar -xvzf eclipse-jee-helios-SR2juno-linux-gtk.tar.gz -C /opt (varies by downloaded file name)

...

  1. Launch Eclipse EE and create a new workspace (Applications -> Programming -> Eclipse)

Image Removed

...

  1. Eclipse)
  • Navigate to Help -> Install New Software
  • In the “Work with:” text field type: “http://subclipse.tigris.org/update_1.4.x”, press “select all” packages, click next through thedialog box (accepting license agreement via checkbox), and press finish.(When complete you will be asked to restart eclipse – press yes). See optional step below if you encounter an installation dependency errors.

Image Removed

  • NB: If the subclipse installation step above gives a dependency error on org.eclipse.draw2d, then follow similar steps to first install org.eclipse.draw2d using the "Work with:" URL "http://download.eclipse.org/tools/gef/updates/releases/". This installation step will also require a restart.  If the subclipse installation step gives a depency error on "Subclipse Integration for Mylyn 3.x (Optional)" then deselect this optional component during the subsclipse install step.
  • Install Maven (Dependency and build system plugin for Eclipse)## Go back to "Help -> Install New Software"## In the “Work with:” text field type: “http://m2eclipse.sonatype.org/sites/m2e”, select all packages, click “next” through the dialog box (accepting license agreement via checkbox), and press finish. (When complete you will be asked to restart eclipse – press yes)

  Image Removed

  • Install Maven Extras## Go back to "Help -> Install New Software"## In the “Work with:” text field type: “http://m2eclipse.sonatype.org/sites/m2e-extras”, select all packages, click “next” through the dialog box (accepting license agreement via checkbox), and press finish. (When complete you will be asked to restart eclipse – press yes)

   Image RemovedSee How to install Eclipse plugins sections here

Check out Source Code from repository

** NOTE ** You might need to click on the workspace icon in the top right of Eclipse main panel to get into the Java perspective.

  • Navigate to "File -> New -> Project -> Maven Drop Down -> Checkout Maven Projects from SCM"

  Image Removed

  • For the “SCM Url” dropdown menu, choose svn and type into the url text field: http://svn.openmrs.org/openmrs/trunk.##  Click advanced to expand more options. In the “Name Template”, type a project name. (We used Openmrs-trunk)## Press finish

  Image Removed
** Wait for checkout to complete before proceeding.See here for how to check out a maven project

Install OpenMRS 

  • In the project explorer panel, right click on the project which has been created and navigate to “Run as → Maven Install” (this may take some time to complete)

...