Template:Ecl installation

From CDOT Wiki
Revision as of 21:09, 12 January 2011 by Jordan.anastasiade (talk | contribs)
Jump to: navigation, search

Install Eclipse {{{type}}}

  • Go to Eclipse Downloads and choose {{{name}}} (attention at operating system 32/64 bit).
  • Unzip the downloaded file in /Eclipse_Platform/{{{type}}} directory.
  • Start Eclipse (click the eclipse executable file in /Eclipse_Platform/{{{type}}}/eclipse directory
  • In the dialog box:Workspace Launcher -> Workspace type: ./wskp/{app-type} where {app-type} could be: hello or simple or lab


For this course you will be using the workspace defined in /Eclipse_Platform/{{{type}}}/eclipse/wksp/...

The root directory for this course is: Eclipse_Platform

  1. Basics/eclipse subdirectory
  2. OSGi/eclipse subdirectory
  3. RCP/eclipse subdirectory
  4. Mobile/
    1. Android/eclipse subdirectory
    2. BlackBerry/eclipse subdirectory
  5. Enterprise/
    1. Virgo/eclipse subdirectory
    2. WTP/eclipse subdirectory


  • {topic} must be: basics or osgi or rcp or android or blackberry or virgo or wtp
  • {subject} must be: hello or simple or lab
  • {subpack} a subpackage name (if need it for complex apps)
  • You have to install also a new repository system Subversive (SVN) from Eclipse (be aware that SVN is an project in incubation and this is an early access).
    • Steps to install SVN in Eclipse:
  1. Start Eclipse and define the workspace (in Workspace Launcher dialog box; type as required: ./wksp/hello).
  2. Click Help->Install New Software....
  3. In the Install dialog box click on "Available Software Sites" (the link below the Add button)
    1. In the new dialog box called Preferences type in the highlighted edit box: sub
    2. In the Name - Location you must have now the location: http://download.eclipse.org/technology/subversive/0.7/update-site/
    3. Click the check box and click the button Reload
      1. A dialog box called Test Connection is displayed and you can access the site the click OK (otherwise if the site is not active you cannot download the software.
    4. Click OK to end the Preferences dialog box.
    5. Click the combo-box 'Work-with' arrow.
      1. At this point you must the the URL selected previously namely http://download.eclipse.org/technology/subversive/0.7/update-site/
      2. Select this item URL
    6. At this point in the below text box you must have at least three items (all of them start with Subversive and end with Incubation).
      1. Click on the first and third one (unless you want to have also the source coude in which case you can select the second item).
      2. Click Next twice, then accept the licence agreement and click the Finish button.
    7. In the Software Updates dialog click the Restart Now button.
    8. When Eclipse starts you MUST also see a new dialog box called 'Install Connectors'; there is a software component called SVN connector that must be install, that comes from a company called Polaroid
      1. At the time of this writing, namely Jan 2011, the product is called SVN Kit 1.3.3; please click the check box and follow the instruction to install the connector. (click Finish->Next->Next->Accept->Finish)
      2. At one point a dialog box "Security Warning" will be displayed; At the question: 'Do you want to continue with the installation?" click OK. (this is a standard message for the software installed from outside Eclipse open source projects, as it is the case here)
      3. Click Restart Now when you are asked by the Software Updates dialog.
    9. When Eclipse starts you must have an new Welcome page with Subversive Overview link (read it, if you want to now more), but at the point you have not finished the install process.
  4. In Eclipse click menu Window->Open Perspective->Other...
    1. In the Open Perspective dialog you must see the SVN Repository Exploring item; click on it and click OK.
    2. In the SVN Repository Panel (the left panel), click the New Repository Location button (the yellow cylinder with the plus greenish sign).
      1. The dialog box "New Repository Location" has few items:
        1. For URL: svn://zenit.senecac.on.ca/ecl500/Lectures
        2. For User: guest
        3. For Password: 1673852
      2. Click Finish
    3. At this point in the SVN Repository panel you should see the content of svn://zenit.senecac.on.ca/ecl500/Lectures
    4. Write click on item that you are studying in this particular lab (for instance in the basic/hello select w11-basics-hello item).
    5. Right click on selected item and click on Check Out menu.
  5. Check your working environment by running the Hello Sample from Course Repository

At this point YOU HAVE THE SVN (subversive repository installed).

You may also want to install JUnit Test