Difference between revisions of "Template:Ecl installation"

From CDOT Wiki
Jump to: navigation, search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== <u>Install Eclipse {{{type}}}</u> ==__NOEDITSECTION__
 
== <u>Install Eclipse {{{type}}}</u> ==__NOEDITSECTION__
* Go to [http://www.eclipse.org/downloads/ Eclipse Downloads] and choose '''Eclipse IDE for Java Developers''' (attention at operating system 32/64 bit).
+
* Go to [http://www.eclipse.org/downloads/ Eclipse Downloads] and choose <span style="font-family:monospace; font-size:1.4em; font-weight:bold; font-style:italic;">{{{name}}}</span> (attention at operating system 32/64 bit).
* Unzip the downloaded file in '''''/Eclipse_Platform/{{{type}}}''''' directory.
+
* Unzip the downloaded file in <span style="font-family:monospace; font-size:1.2em; font-weight:bold; font-style:italic;">/Eclipse_Platform/{{{type}}}</span> directory.
* Start Eclipse (click the eclipse executable file in ''Eclipse_Platform/{{{type}}}/eclipse'' directory  
+
* Start Eclipse (click the eclipse executable file in <span style="font-family:monospace; font-size:1.2em; font-weight:bold; font-style:italic;">/Eclipse_Platform/{{{type}}}/eclipse</span> directory  
* In the ''Workspace Launcher'' dialog box: Workspace type <span style="background-color: #ffff00">./wskp/'''''{app-type}''''' where ''{app-type}'' could be: '''''hello''''' or '''''simple''''' or '''''lab'''''</span>
+
* In the dialog box:<span style="font-family:monospace; font-style:italic; font-size:1.2em;">Workspace Launcher -> Workspace</span>  type: <span style="font-family:monospace; font-size:1.2em; font-weight:bold; font-style:italic; background-color: #ffff00">./wskp/{app-type}</span> where ''{app-type}'' could be: '''''hello''''' or '''''simple''''' or '''''lab'''''
  
 
{{{install}}}
 
{{{install}}}
  
For this course you will be using the workspace defined in ''Eclipse_Platform/Basics/eclipse/wksp/.."
+
For this course you will be using the workspace defined in <span style="font-family:monospace; font-size:1.4em; font-weight:bold; font-style:italic;">/Eclipse_Platform/{{{type}}}/eclipse/wksp/...</span>
 
 
=== ''The Directory Structure for the Course'' ===
 
 
 
 
{| class="wikitable" border="0"
 
{| class="wikitable" border="0"
 
|-
 
|-
Line 17: Line 14:
 
|  [[Image:Ecl-package-structure-new.png|thumb|400px]]
 
|  [[Image:Ecl-package-structure-new.png|thumb|400px]]
 
where:  
 
where:  
* {topic} must be: ''basics'' or ''osgi'' or ''rcp'' or ''android'' or ''blackberry'' or ''virgo'' or ''wtp''
+
* {topic} must be: '''''basics''''' or '''''osgi''''' or '''''rcp''''' or '''''android''''' or '''''blackberry''''' or '''''virgo''''' or '''''wtp'''''
 
* {subject} must be: '''''hello''''' or '''''simple''''' or '''''lab'''''
 
* {subject} must be: '''''hello''''' or '''''simple''''' or '''''lab'''''
 
* {subpack} a subpackage name (if need it for complex apps)
 
* {subpack} a subpackage name (if need it for complex apps)
 
|-
 
|-
 
|}
 
|}
 +
 +
 +
'''Check your working environment''' by running the [https://guest:1673852@zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/w11-{{{type-small}}}-hello/ Hello Sample from Course Repository]
 +
 +
----
 +
 +
You may also want to install [http://www.junit.org/ JUnit Library] to be able to debug your applications.
 +
 +
To install JUnit follow the instructions:
 +
# Download JUnit4.x.jar from the [http://www.junit.org/  JUnit website] . The download contains a "junit-4.*.jar" which is the JUnit library.
 +
# To make JUnit available in your Java project you have to add the the JUnit library file to your Java classpath. (If you do not know how to do it, please use [http://www.vogella.de/articles/Eclipse/article.html#classpath_jar this Eclipse tutorial] to learn how to add jar files to your Eclipse project).

Latest revision as of 11:23, 4 March 2011

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

{{{install}}}

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
Ecl-course-dir-structure-new.png
Ecl-package-structure-new.png

where:

  • {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)


Check your working environment by running the Hello Sample from Course Repository

You may also want to install JUnit Library to be able to debug your applications.

To install JUnit follow the instructions:

  1. Download JUnit4.x.jar from the JUnit website . The download contains a "junit-4.*.jar" which is the JUnit library.
  2. To make JUnit available in your Java project you have to add the the JUnit library file to your Java classpath. (If you do not know how to do it, please use this Eclipse tutorial to learn how to add jar files to your Eclipse project).