Software Development: EasyEclipse

We will use EasyEclipse Server for COMP 342. There are many distributions Eclipse. This one has everything we could possibly need for doing development on OpenMRS; as a result, it is rather bloated. To install it:   Browse to the EasyEclipsewebsite. 

 Follow the "Download EasyEclipse Distribution" link.   Scroll down to EasyEclipse Server Java and download the distribution appropriate to your platform. Note that although the current version of EasyEclipse is 1.3.1.1, the latest version available for the Server Java distribution is 1.2.2.2.   Install into your applications directory if possible (e.g., the directory, if you are using the directory structure I suggest above) as appropriate for your platform, or install wherever the installer wants to put EasyEclipse.   Start EasyEclipse.   If you have never used Eclipse before, you will be prompted to choose a workspace. This is a directory in which you will keep your Eclipse projects. I recommend making a workspace directory in your COMP 342 folder as is indicated above---that is, make a new empty directory named, and then specify this as the workspace directory to use when you start EasyEclipse.

  Next you will probably be prompted to convert from JBoss 1.5/1.6 to JBoss 2.0. Press "Cancel."   Next you will probably have a tab with a few icons showing; hovering over the icons yields "What's New," "Overview," etc. tooltips. Close the tab. </li>  You should now have a window that is divided into many parts labeled "Navigator," "Outline," etc. You can leave this as-is, or you can learn about these different views and customize this window as you like. </li> </ol> </li>  Configure EasyEclipse to use Tomcat. <ol>  Select Window-&gt;Preferences.

</li>  Select Tomcat from the list on the left. </li>  Choose Version 6.x, and then browse to select the Tomcat installation directory (which includes the,  , etc. directories). Select Server.xml for the Context declaration mode and make sure that the Configuration file is in your Tomcat installation directory. </li>  On OS X, I have to specify the JVM to use for Tomcat; this may also be necessary on other OSs, but I suggest skipping this step unless it seems necessary. Untie the twistie next to Tomcat in the left pane and select JVM Settings. Choose the JRE that is appropriate to the Java installation that you have. </li>

 Untie the twistie next to Tomcat in the left pane and select Tomcat Manager. Set the ManagerApp username and password according to the username and password for your Tomcat manager account. Press Apply and then OK. </li>  To test, press the fourth button from the left on the main toolbar (it looks like a cat); this should start Tomcat. You will see log messages appear in the console view; if you get errors to the effect of UnsupportedClassVersionError, try specifying the JVM Settings as above. </li> </ol> </li> </ol>