Changes between Version 9 and Version 10 of Eclipse Setup

Show
Ignore:
Timestamp:
10/28/09 17:51:02 (10 years ago)
Author:
varun (IP: 152.54.8.249)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Eclipse Setup

    v9 v10  
    1 = Eclipse Setup = 
    2  
    3 This page describes how to setup an Eclipse development environment to be used with the Orca project. 
    4  
    5 1. Download and install Eclipse from http://www.eclipse.org/downloads/. You can choose either    
    6 ''Eclipse IDE for Java EE Developers'' or ''Eclipse IDE for Java Developers''. 
    7  
    8 2. In addition to the standard Eclipse installation you will need the following Eclipse plug-ins: 
    9  
    10  - Subclipse (http://subclipse.tigris.org/). This plug-in integrates subversion source control into eclipse. Make sure you choose a version compatible with your subversion command line client. Version 1.4.* uses subversion 1.5.* file formats and is incompatible with subversion 1.4.* file formats. Version 1.0.* work only with subversion 1.4.*. Be careful, which version you end up installing, since version incompatibility can cause a lot of headaches later. Version 1.4.* is recommended and the update link is ''http://subclipse.tigris.org/update_1.4.x'' 
    11  
    12  - m2eclipse (http://m2eclipse.codehaus.org/). This plug-in integrates Maven into Eclipse. The update link is http://m2eclipse.sonatype.org/update/ 
    13  
    14 3. Before you can start editing an ORCA project, you must import it into your Eclipse workspace. You can checkout the project directly with Eclipse, with the Subversion command line client or with the [wiki:buildInstructions command line build scripts]. The instructions here assume that you have checked out the required projects using the Subversion command line client. To import an existing ORCA project into Eclipse do the following: 
    15  - Click on File\Import... 
    16  - Expand the ''General'' tab and select ''Maven Projects''. Click ''Next'' 
    17  - Use the ''Browse'' button to navigate to the directory containing the POM file (pom.xml) of the project you want to import. Click ''OK''. The dialog window should show the project(s) you have selected for import. 
    18  - Click on ''Advanced'' and make sure that both ''Resolve Workspace projects'' and ''Separate projects for modules'' are selected. Add the following to the ''Name template'' field: '[groupId].[artifactId]'. 
    19  - Click on ''Finish'' 
    20  
    21  The project should start importing and Eclipse will rebuild the workspace as needed. 
    22  
    23   
    24 ---- 
    25  
    26 When installing Eclipse on a ''' CentOS 5.2 ''' machine note the following: 
    27  
    28  * Eclipse 3.2 is the only version currently supported by CentOS repositories. 
    29  * Follow the Maven (m2eclipse) installation instructions for Eclipse 3.2 closely. 
    30  * Use the [http://m2eclipse.sonatype.org/update-dev/] for maven plugin instead of the release build 
    31  
    32 When installing e2eclipse in '''Ubuntu 8.10''': 
    33  * Following above notes on CentOS 
    34  * Use Sun Java JDK 1.5, instead of the default gcj 
    35    * sudo gedit /etc/eclipse/java_home 
    36    * move '/usr/lib/j2sdk1.5-sun' to be the first line 
    37  * Switch to sun 1.5 system-wide 
    38    * download and install 1.5 (from the update manager) 
    39    * see it in /usr/lib/jvm 
    40    * sudo update-alternatives --config java (javac, javadoc) 
    41    * Or change $JAVA_HOME (JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun")  
    42    *  and $PATH (PATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH)