Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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
Wiki Markup

{note}
The instructions below are for the *Eclipse IDE for Java EE Developers* (a.k.a *Indigio*).  If you are using an IDE other than *Eclipse - 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.
{note}
Quick Links to:
{toc:minLevel=3|maxLevel=3}
* [Eclipse Indigo - JVM memory configuration | Eclipse JVM memory configuration#Eclipse Indigo - JVM memory configuration]

...

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.

    When satisfied that everything is correct, click Next.
  3. Click the Directory button and go to the directory where you installed the Java JDK.
    You should have panel similar to the following:

    When satisfied that everything is correct, click Finish.
  4. Select the JDK that you just installed.

    When satisfied that everything is correct, click OK.

    Java JDK 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

  1. Run Eclipse.  Go into Help > Install New Software and the following panel will be displayed:
  2. From the Work With dropdown list, select Indigo - http://download.eclipse.org/releases/indigo .
    In the Selection box, select Collaboration as shown below.

    When satisfied that everything is correct, click Next.
  3. Review the panel.

    When satisfied that everything is correct, click Next.
  4. Accept the Licenses.

    When satisfied that everything is correct, click Finish.
  5. When the following panel is display,

    Click Restart Now.
  6. As shown below, select SVN Kit 1.3.5

    When satisfied that everything is correct, click Finish.
  7. Verify that the Install entries have be selected as shown below.

    When satisfied that everything is correct, click Next.
  8. Review the panel.

    When satisfied that everything is correct, click Next.
  9. Accept the Licenses.

    When satisfied that everything is correct, click Finish.
  10. When the following panel is display,

    Click Restart Now.

    Subversion installation and configuration for Eclipse is now complete.

Panel

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

Eclipse Indigo - OC4J server installation and configuration

Warning

The Eclipse OC4J server installation assumes that you have done an Install the Oracle OC4J 10.1.3.5 standalone server.
If you have not installed a OC4J standalone server, please do so now .

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:

    Click new server wizard.
    Note:  If you have previously installed servers, right click anywhere in the 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.

    When satisfied that everything is correct, click Next.
  3. 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.

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

    When satisfied that everything is correct, click Finish.

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

{anchor:Eclipse Indigo - Tomcat 7 server installation and configuration} h3. 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*|Install Tomcat 7]. If you have not installed Tomcat 7, please do so [*now*|Install Tomcat 7]. {warning} # Run Eclipse.  Go to *Window > Show View > Servers*. \\ \\ !tomcatIndigoConfig002.jpg! \\ \\ # Right click anywhere within the *servers View* (as shown below) and select *New > Server*. \\ \\ !tomcatIndigoConfig004.jpg! \\ \\ # 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.0.29. \\ \\ !tomcatIndigoConfig006.jpg! \\ \\ When you are satisfied that everything is correct, click *Next*. \\ \\ # 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}
  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.0.29.

    Image Added

    When you are satisfied that everything is correct, click Next.
  4. 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:

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.

Wiki Markup
Code Block
  1. C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.29
    
{code}
  1. From

  1. the

*
  1. JRE:

*
  1. dropdown

  1. list,

  1. select

  1. the

*
  1. JRE

*
  1. that

  1. you

  1. had

  1. previously

  1. installed.


  1. In

  1. this

  1. example,

  1. the

  1. previously

  1. installed

  1. JRE

  1. is

  1. jdk1.6.0_27.

\\ \\ Your *Tomcat Server* panel should now look similar to the following: \\ \\ !tomcatIndigoConfig008.jpg! \\ \\ When you are satisfied that everything is correct, click *Finish*. \\ \\ # Your *Servers View* should now be similar to the following: \\ \\ !tomcatIndigoConfig010.jpg! \\ \\ 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: \\ \\ !tomcatIndigoConfig012.jpg! \\ \\ {color:red}Save all the changes that you have made to the Overview panel. Saving the changes to the Overview panel must be done before continuing.{color} \\ \\ # 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: \\ \\ !tomcatIndigoConfig014.jpg! \\ \\ Add the following to the *VM arguments* dialog box: {code}


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

    Image Added

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

  2. 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.
  3. 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
    
{code} {note}If tomcat fails to start, change the above settings to: {code}
  1. Note

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

    Code Block
    -Xmx512m –Xms512m -XX:MaxPermSize=512m
    
{code} {note} The above additions to the VM arguments will help to prevent PermGen errors. \\ \\ The *Edit launch configuration properties* panel should look as follows: \\ \\ !tomcatIndigoConfig016.jpg! \\ \\ When you are satisfied that everything is correct, click *Apply*, then click *OK*. \\ \\ Save and close the *Overview panel*. \\ \\ # In the *Servers View*, right click on the Tomcat server and select *Start* as shown below: \\ \\ !tomcatIndigoConfig018.jpg! \\ \\ # After the Tomcat server has started, open a Web Browser and enter the following URL: {code}
  1. 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.

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

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

    Code Block
    http://localhost:8080/manager/html
    
{code}
  1. When

  1. prompted,

  1. enter

  1. the

  1. manager-gui

  1. username

  1. and

  1. password

  1. that

  1. you

  1. had

  1. selected

  1. when

  1. you

  1. installed

  1. the

  1. Tomcat

  1. Server.

\\ \\ If everything was done correctly, you should now have the following displayed in you browser: \\ \\ !tomcatIndigoConfig020.jpg! \\ h4. {color:green}Tomcat 7 server installation and configuration for Eclipse is now complete.{color}


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

    Image Added

    Tomcat 7 server 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.

    Click the Add... button.
  2. Navigate to the external Maven installation directory.

    When satisfied that everything is correct, click OK.
  3. Verify that the External installation of Maven is selected.

    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 - m2e Subversive Connector installation and configuration
Eclipse Indigo - m2e Subversive Connector installation and configuration

Eclipse Indigo - m2e Subversive Connector installation and configuration

  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.

    When satisfied that everything is correct, click Next.
  2. In the bottom right of the panel, click on m2e MarketPlace.
  3. Scroll down to and select m2e-subversive as shown in the following panel.

    When satisfied that everything is correct, click Finish.
  4. Verify that Maven SCM Handler for Subversive is selected.

    When satisfied that everything is correct, click Next.
  5. Review the item being installed.

    When satisfied that everything is correct, click Next.
  6. Accept the license agreement.

    click Finish to start the installation.
  7. When the installation has completed, the following panel will be displayed.

    Click Yes to restart Eclipse.

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