Dashboard > Struts University > Home > MailReader Setup Instructions > Information > Page Comparison
MailReader Setup Instructions
Version 4 by Ted Husted
on Jul 18, 2007 08:35.


compared with
Current by Ted Husted
on Aug 23, 2007 12:54.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 3 changes. View first change.

 h1. MailReader for Eclipse
  
 # [Download and install the latest FireFox|http://en.www.mozilla.com/en/firefox/]
 # Open FireFox, and from <> install the [Selenium IDE add-on|https://addons.mozilla.org/en-US/firefox/addon/2079]
 # [Download and install the latest "JDK 5.0 Update"|http://java.sun.com/javase/downloads/index_jdk5.jsp]
 # Create a \MRTC folder on a local drive
 # [Download the latest Tomcat "5.5"|http://tomcat.apache.org/download-55.cgi] and extract the zip archive under MRTC to create a MRTC/apache-tomcat-5.5.23 folder. Rename the folder "apache-tomcat".
 # [Download the Struts 2.0.8 JARs|http://struts.apache.org/download.cgi#struts208] (struts-2.0.x-lib.zip), and extract the zip under MRTC to create MRTC/struts-2.0.8. Don't rename the folder.
 # [Download "Eclipse IDE for Java *EE* Developers"|http://www.eclipse.org/downloads/] (the one that includes the web tools!) and extract the zip archive under the MRTC to create a MRTC/eclipse folder.
  # [Download and install the latest FireFox|http://en.www.mozilla.com/en/firefox/]
 # Open FireFox, and from <> install the [Selenium IDE add-on|https://addons.mozilla.org/en-US/firefox/addon/2079]
 # [Download and install the latest "JDK 5.0 Update"|http://java.sun.com/javase/downloads/index_jdk5.jsp]
 # Create a \MRTC folder on a local drive
 # [Download the latest Tomcat "5.5"|http://tomcat.apache.org/download-55.cgi] and extract the zip archive under MRTC to create a MRTC/apache-tomcat-5.5.23 folder. Rename the folder "apache-tomcat".
 # [Download the Struts 2.0.8 JARs|http://struts.apache.org/download.cgi#struts208] (struts-2.0.x-lib.zip), and extract the zip under MRTC to create MRTC/struts-2.0.8. Don't rename the folder.
 # [Download "Eclipse IDE for Java *EE* Developers"|http://www.eclipse.org/downloads/] (the one that includes the web tools!) and extract the zip archive under the MRTC to create a MRTC/eclipse folder.
  
 h2. Importing projects from CD
  
 Using the Eclipse File/Import feature to import the labs does not seem to create "Dynamic Web" projects. For now, if you need to setup a new lab, create a new Dynamic Web project, and copy over the JARs and code
  
# Open Eclipse and select \MRTC\workspace as the workspace folder
  # Open Eclipse and select \MRTC\workspace as the workspace folder
  # Select File/New/Project/Web/Dynamic Web Application
  # Enter the lab name as the project name, and select Next
  # Accept the default "Project Facets" (Dynamic Web Module and Java), and select Next
  # For Java Source Directory, change "src" to "Source", and select Finish
  # If offered, do not switch to the J2EE perspective
  # Open Windows Explorer (or equivalent) and copy the JARs from \MRTC\labs\lib to the WEB-INF\lib folder for the new project (under \MRTC\workspace\$LAB, where $LAB is the name entered in step 2)
  # Copy the Source and WebContent folders from \MRTC\lab\$LAB to \MRTC\workspace\$LAB
  # Return to Eclipse, select the new lab, and select File/Refresh
  # Select File/New/JUnit Testcase
  # (Add the JUnit JAR) In the dialog, select the link that offers to install JUnit 3 (third pane in window), select OK to install JUnit 3, and then cancel to end the JUnit Test Case dialog
  # Select Project/Clean
  # (Enable support for JSP TLDs) If there is a red-check next to the WebContent/pages/*.jsp files, select Hello.jsp, and then select File/Rename. Rename the file to Hello1.jsp, and then rename it back.
  
 # Select File/New/Project/Web/Dynamic Web Application
  
 # Enter the lab name as the project name, and select Next
  
 # Accept the default "Project Facets" (Dynamic Web Module and Java), and select Next
  
 # For Java Source Directory, change "src" to "Source", and select Finish
  
 # If offered, do not switch to the J2EE perspective
  
 # Open Windows Explorer (or equivalent) and copy the JARs from \MRTC\labs\lib to the WEB-INF\lib folder for the new project (under \MRTC\workspace\$LAB, where $LAB is the name entered in step 2)
  
 # Copy the Source and WebContent folders from \MRTC\lab\$LAB to \MRTC\workspace\$LAB
  
 # Return to Eclipse, select the new lab, and select File/Refresh
  
 # Select File/New/JUnit Testcase
  
 # (Add the JUnit JAR) In the dialog, select the link that offers to install JUnit 3 (third pane in window), select OK to install JUnit 3, and then cancel to end the JUnit Test Case dialog
  
 # Select Project/Clean
  
 # (Enable support for JSP TLDs) If there is a red-check next to the WebContent/pages/*.jsp files, select Hello.jsp, and then select File/Rename. Rename the file to Hello1.jsp, and then rename it back.
  
 ----
  
 The training materials ("handouts") can be viewed [online|home]. A PDF bundle may also be [downloaded|http://husted.com/mrtc.zip].
Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators