Changes between Version 65 and Version 66 of DeveloperInstructions


Ignore:
Timestamp:
12/09/11 20:39:36 (13 years ago)
Author:
Vangel Ajanovski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperInstructions

    v65 v66  
    11== Setting up Eclipse IDE ==
    22
    3 '''Download and install Java Development Kit (JDK)'''
     3=== 1. Download and install Java Development Kit (JDK)
     4
     5==== Windows
    46
    57 * Set up system variable JAVA_HOME to the absolute path to the main directory of the JDK installation
     
    1719----
    1820
    19 ''( '''Ubuntu 10.04''' )'' installation of Java, Eclipse and plugins from package repositories.
     21==== Ubuntu 10.04 installation of Java
    2022
    21231. Enable the  Partner repository in order to install Sun Java.
     
    2931}}}
    3032
    31 1.1. If another version of Java has been installed previously, this command will make the latest Sun Java installation as default.
     33If another version of Java has been installed previously, this command will make the latest Sun Java installation as default.
    3234{{{
    3335sudo update-java-alternatives -s java-6-sun
    3436}}}
    3537
    36 2. Add the repository for  Eclipse and Subclipse
    37 {{{
    38 sudo add-apt-repository ppa:yogarine/eclipse
    39 }}}
    40 
    41 then install them
    42 {{{
    43 sudo apt-get update && sudo apt-get install eclipse-wtp eclipse-subclipse
    44 }}}
    45 
    46 2.1 In order for Subversion to work properly, this is required:
     38In order for Subversion to work properly, this is required:
    4739{{{
    4840sudo apt-get install subversion libsvn-java
    4941}}}
    5042
     43----
     44
     45=== 2. Download and setup Eclipse
     46
     47- Download Eclipse (for Java Developers is enough as a basic installation, but  Eclipse Java EE is recommended because the packages for Web Development (WTP) are preinstalled.
     48- Best to download a ZIP version and just unpack it in folder of your choice
     49
     50==== Ubuntu - before running Eclipse
    5151open the eclipse.ini in a text editor with administrative privileges:
    5252{{{
     
    5858}}}
    5959then Eclipse will start without problems.
     60----
    6061
    61 3. Install the m2eclipse plugin (explained below).
     62Run Eclipse
    6263
    63 ----
    64 '''Download Eclipse and install the Plugins'''[[BR]][[BR]]
     64=== 3. Install the m2eclipse and subclipse plugins
    6565
    66 - Download Eclipse (for Java Developers is enough as a basic installation, but  Eclipse Java EE is recommended because the packages for Web Development (WTP) are preinstalled.
    6766
    68 - Install the   m2eclipse plugin from the following update address - [http://m2eclipse.sonatype.org/sites/m2e]
     67Install the   m2eclipse plugin from the following update address - [http://m2eclipse.sonatype.org/sites/m2e]
    6968(In Eclipse -> Help -> Install New Software , you will add the address and available packages will showup, please add everything becides AJDT and  WTP that depend on other plugins)
    7069
    71 - In the same way, install the Subclipse plugin from the following update address - [http://subclipse.tigris.org/update_1.6.x]
     70In the same way, install the Subclipse plugin from the following update address - [http://subclipse.tigris.org/update_1.6.x]
    7271
    73 === Download the source code and setup a project ===
     72=== 4. Download the project source code and setup a project ===
    7473
    7574Change the Eclipse IDE perspective to SVN Repository and create a new project with the option Checkout as maven project, from the address http://develop.ii.edu.mk/svn/isii
     
    8180- In Eclipse open Window -> Preferences -> Java -> Installed JREs
    8281Delete the old record and add a new one that points to the JDK (and not JRE) as in the image
    83 [[Image(2.jpg,align=left,top)]]
     82[[Image(2.jpg)]]
    8483
    8584- After this create a Shortcut to  Eclipse.exe anywhere you like, right click the shortcut, and in the Target textbox add:
     
    156155
    157156It should look like this:
    158 [[Image(10.jpg,align=left,top)]]
     157[[Image(10.jpg]]
    159158
    160159Click on Run and the application will start (some packages will be downloaded from the Internet for the first run).
    161160
    162 On subsequent runs, you can speed up the process if you check the parameter Offline in the Maven setting for that run goal.
     161On subsequent runs, you can speed up the process if you check the parameter *Offline* in the Maven setting for that run goal.
    163162
    164163The system listens on port 8081 (Jetty on 8081)