Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Info

Help is available by sending an email to csf-support@mit.edu
Have any suggestion on how improve this wiki?  Please give us your feedback at csf-support@mit.edu

Panel
Note

The instructions below are for the Eclipse IDE for Java EE Developers (a.k.a Indigio).  If you are

used

using an IDE other than Eclipse

IDE for Java EE Developers

- Indigo then the detailed instructions given below may differ from what is required by your IDE.  In this event, The Quick link topics should be view as what has to be done rather than how to do it.

Quick Links to:

Table of Contents
minLevel3
maxLevel3
panel
Panel

Anchor
Eclipse Indigo - Download and Installation
Eclipse Indigo - Download and Installation

Eclipse Indigio - Download and Installation

Info

If you encounter any broken links, go to the Eclipse web site and select Downloads from the task bar.
Find and click on Eclipse IDE for Java EE Developers (do not do a download from this page), then select Indigo Packages and continue with step 2 below.

  1. Go to the Eclipse download site .  For and from the left hand panel, select Indigo Packages .  From the list of Indigo downloads, find and click on entry for Eclipse IDE for Java EE Developers and click-on the OS version (Windows, Mac or Linux) that you want to download.
  2. In the right-hand panel (titled: Download Links), select the OS version that you want (e.g. Windows, Mac or Linux 32 bit or 64 bit).
  3. Select a Mirror and save the downloaded file on your workstation.
  4. Unzip/untar the downloaded file to any directory of your choice.
panel !eclipseJdk002.jpg! Image Added
When satisfied that everything is correct, click Next.
  • Click the Directory button and go to the directory where you installed the Java JDK.
    You should have panel similar to the following:
  • Image Added
    When satisfied that everything is correct, click Finish.
  • Select the JDK that you just installed.
  • Image Added
    When satisfied that everything is correct, click OK.

    Java JDK installation and configuration for Eclipse is now complete.

    Panel

    Anchor
    Eclipse Indigo - Java JDK installation and configuration
    Eclipse Indigo - Java JDK installation and configuration

    Eclipse Indigo - Java JDK installation and configuration

    Warning

    The Eclipse - Java JDK installation assumes that you have done an Install Java JDK.
    If you have not installed a Java JDK, please do so now.

    1. Run Eclipse.  Go to Window > Preferences.
      From the Selection, expand Java and select Installed JREs.
    2. Click the Add button and select Standard VM.
    indent
    22
    indent
    22
    
    !eclipseJdk003.jpg!
    
    indent
    22
    
    !eclipseJdk004.jpg!
    
    !eclipseSvn011.jpg! Image Added
  • From the Work With dropdown list, select Indigo - http://download.eclipse.org/releases/indigo .
    In the Selection box, select Collaboration as shown below.
  • !eclipseSvn013.jpg! Image Added
    When satisfied that everything is correct, click Next.
  • Review the panel.
  • !eclipseSvn015.jpg! Image Added
    When satisfied that everything is correct, click Next.
  • Accept the Licenses.
  • Image Added
    When satisfied that everything is correct, click Finish.
  • When the following panel is display,
  • !eclipseSvn019.jpg! Image Added
    Click Restart Now.
  • As shown below, select SVN Kit 1.3.5
  • Image Added
    When satisfied that everything is correct, click Finish.
  • Verify that the Install entries have be selected as shown below.
  • Image Added
    When satisfied that everything is correct, click Next.
  • Review the panel.
  • !eclipseSvn025.jpg! Image Added
    When satisfied that everything is correct, click Next.
  • Accept the Licenses.
  • !eclipseSvn027.jpg! Image Added
    When satisfied that everything is correct, click Finish.
  • When the following panel is display,
  • !eclipseSvn029.jpg! Image Added
    Click Restart Now.

    Subversion installation and configuration for Eclipse is now complete.

    Panel

    Anchor
    Eclipse Indigo - Subversion Installation and configuration
    Eclipse Indigo - Subversion Installation and configuration

    Eclipse Indigo - Subversion installation and configuration

    Panel
    1. Run Eclipse.  Go into Help > Install New Software and the following panel will be displayed:
    indent
    22
    indent
    22
    indent
    22
    indent
    22
    
    !eclipseSvn017.jpg!
    
    indent
    22
    indent
    22
    
    !eclipseSvn021.jpg!
    
    indent
    22
    
    !eclipseSvn023.jpg!
    
    indent
    22
    indent
    22
    indent
    22

    ...

    Panel

    Anchor
    Eclipse Indigo - OC4J server installation and configuration
    Eclipse Indigo - OC4J server installation and configuration

    Eclipse Indigo - OC4J server installation and configuration

    indent
    Warning

    The Eclipse OC4J server installation assumes that you have done an Install the Oracle OC4J

    * {color:red}The *Eclipse OC4J server installation* assumes that you have done an [*Install the Oracle OC4J 10.1.3.5 standalone server*| Install the Oracle OC4J

    10.1.3.5

    standalone

    server

    ]

    .


    If

    you

    have

    not

    installed

    a

    OC4J

    standalone

    server,

    please

    do

    so

    [*

    now

    * | Install the Oracle OC4J 10.1.3.5 standalone server].{color} * {color:red}The *Eclipse OC4J server installation* assumes that you have done an [*Eclipse - Java JDK installation*| #Eclipse - Java JDK installation]. If you have not installed a Java JDK, please do so [*now* | #Eclipse - Java JDK installation].{color}

    .

    The Eclipse OC4J server installation also assumes that you have done an Eclipse - Java JDK installation.
    If you have not installed a Java JDK, please do so now .

    1. Run Eclipse.  Select the Servers tab as shown below:

    ...

    1. Image Added

    1. Click new server wizard.
      Note:  If you have previously installed servers, right click anywhere in the

    ...

    1. servers tab and select New > Server.
    2. In the selection box, scroll down and expand to the Oracle entry.  Select Oracle OC4J Standalone Server 10.1.3.n as shown below.

    ...

    
    !eclipseOc4jServer004.jpg!
    

    ...

    1. Image Added
      When satisfied that everything is correct, click Next.
    2. From the JRE: dropdown list, select the JDK that was previously installed in Eclipse.
      Change the Oracle J2EE Home to where you have installed the Oracle Standalone server.

    ...

    1. Image Added

    1. When satisfied that everything is correct, click Next.
    2. Change the Password: from welcome to the password the you choose for the oc4jadmin when you installed the OC4J standalone server.
      Image Added
      When satisfied that everything is correct, click Finish.

      OC4J standalone server installation and configuration for Eclipse is now complete.

    Panel

    Anchor
    Eclipse Indigo - Tomcat 7 server installation and configuration
    Eclipse Indigo - Tomcat 7 server installation and configuration

    Eclipse Indigo - Tomcat 7 server installation and configuration

    Warning

    This task is optional.  If you are not planning to use a Tomcat 7 server, then this task does not have to be done.
    The Eclipse - Tomcat 7 installation assumes that you have done an Install Tomcat 7.
    If you have not installed Tomcat 7, please do so now.

    1. Run Eclipse.  Go to Window > Show View > Servers.

      Image Added
    2. Right click anywhere within the servers View (as shown below) and select New > Server.

      Image Added
    3. In the Define a New Server panel, expand Apache (as shown below) and select Tomcat v7.0 Server.

      Change the Server name: to indicate the version of Tomcat that you have installed.
      In this example, the installed version of Tomcat is version 7.

    ...

    
    !eclipseOc4jServer008.jpg!
    
    1. 0.29.

      Image Added

      When you are satisfied that everything is correct, click Next.
    2. In the Tomcat Server panel, click the Browse button and select the location of your Tomcat installation.
      In this example, the Tomcat installation is at:

      Code Block
      C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.29
      

      From the JRE: dropdown list, select the JRE that you had previously installed.
      In this example, the previously installed JRE is jdk1.6.0_27.

      Your Tomcat Server panel should now look similar to the following:

      Image Added

      When you are satisfied that everything is correct, click Finish.

    3. Your Servers View should now be similar to the following:

      Image Added

      Right click on the Tomcat entry in the Servers View and select Open.

      The Tomcat Overview panel will be displayed as shown below.

      In the Server Locations:  select the Use Tomcat installation (takes control of Tomcat installation) radio button.
      In the Server Locations:  change the Deploy path from wtpwebapps to webapps.

      Your Overview panel should now look similar to the following:

      Image Added

      Save all the changes that you have made to the Overview panel.
      Saving the changes to the Overview panel must be done before continuing.
    4. Again, in the Overview panel under the General Information section, click on the Open launch configuration link and select the (x)= Arguments tab.

      The Edit launch configuration properties panel should look as follows:

      Image Added

      Add the following to the VM argumentsdialog box:

      Code Block
      -Xmx1024m –Xms1024m -XX:MaxPermSize=1024m
      
      Note

      If tomcat fails to start, change the above settings to:

      Code Block
      -Xmx512m –Xms512m -XX:MaxPermSize=512m
      

      The above additions to the VM arguments will help to prevent PermGen errors.

      The Edit launch configuration properties panel should look as follows:

      Image Added

      When you are satisfied that everything is correct, click Apply, then click OK.

      Save and close the Overview panel.

    5. In the Servers View, right click on the Tomcat server and select Start as shown below:

      Image Added
    6. After the Tomcat server has started, open a Web Browser and enter the following URL:

      Code Block
      http://localhost:8080/manager/html
      

      When prompted, enter the manager-gui username and password that you had selected when you installed the Tomcat Server.

      If everything was done correctly, you should now have the following displayed in you browser:

      Image Added

      Tomcat 7

    ...

    1. server installation and configuration for Eclipse is now complete.

    panel Image Added
    Click the Add... button.
  • Navigate to the external Maven installation directory.
  • Image Added
    When satisfied that everything is correct, click OK.
  • Verify that the External installation of Maven is selected.
  • Image Added
    When satisfied that everything is correct, click the Apply button then click the OK.

    Maven installation and configuration for Eclipse is now complete.

    Panel

    Anchor
    Eclipse Indigo - Maven installation and configuration
    Eclipse Indigo - Maven installation and configuration

    Eclipse Indigo - Maven installation and configuration

    Warning

    The Eclipse - Maven installation assumes that you have done an Install Maven.
    If you have not installed Maven, please do so now.

    1. Run Eclipse.  Go to Window > Preferences.
      From the Selection, expand Maven and select Installations.
    indent
    22
    
    !eclipseMaven002.jpg!
    
    indent
    22
    
    !eclipseMaven004.jpg!
    
    indent
    22
    
    !eclipseMaven006.jpg!
    
    !m2eSubversiveConnector002.jpg! Image Added
    When satisfied that everything is correct, click Next.
  • In the bottom right of the panel, click on m2e MarketPlace.
  • !m2eSubversiveConnector004.jpg! Image Added
  • Scroll down to and select m2e-subversive as shown in the following panel.
  • Image Added
    When satisfied that everything is correct, click Finish.
  • Verify that Maven SCM Handler for Subversive is selected.
  • Image Added
    When satisfied that everything is correct, click Next.
  • Review the item being installed.
  • !m2eSubversiveConnector010.jpg! Image Added
    When satisfied that everything is correct, click Next.
  • Accept the license agreement.
  • Image Added
    click Finish to start the installation.
  • When the installation has completed, the following panel will be displayed.
  • !m2eSubversiveConnector014.jpg! Image Added
    Click Yes to restart Eclipse.

    m2e Subversive Connector installation and configuration for Eclipse is now complete.

    Panel

    Anchor
    Eclipse Indigo - m2e Subversive Connector installation and configuration
    Eclipse Indigo - m2e Subversive Connector installation and configuration

    Eclipse Indigo - m2e Subversive Connector installation and configuration

    Panel
    1. Run Eclipse.  Go to File > New > Other...
      Scroll down to Maven and expand then select Checkout Maven Projects from SCM as shown in the following panel.
    indent
    22
    indent
    22
    indent
    22
    
    !m2eSubversiveConnector006.jpg!
    
    indent
    22
    
    !m2eSubversiveConnector008.jpg!
    
    indent
    22
    indent
    22
    
    !m2eSubversiveConnector012.jpg!
    
    indent
    22