Changes between Version 65 and Version 66 of DeveloperInstructions
- Timestamp:
- 12/09/11 20:39:36 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperInstructions
v65 v66 1 1 == Setting up Eclipse IDE == 2 2 3 '''Download and install Java Development Kit (JDK)''' 3 === 1. Download and install Java Development Kit (JDK) 4 5 ==== Windows 4 6 5 7 * Set up system variable JAVA_HOME to the absolute path to the main directory of the JDK installation … … 17 19 ---- 18 20 19 ''( '''Ubuntu 10.04''' )'' installation of Java, Eclipse and plugins from package repositories. 21 ==== Ubuntu 10.04 installation of Java 20 22 21 23 1. Enable the Partner repository in order to install Sun Java. … … 29 31 }}} 30 32 31 1.1.If another version of Java has been installed previously, this command will make the latest Sun Java installation as default.33 If another version of Java has been installed previously, this command will make the latest Sun Java installation as default. 32 34 {{{ 33 35 sudo update-java-alternatives -s java-6-sun 34 36 }}} 35 37 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: 38 In order for Subversion to work properly, this is required: 47 39 {{{ 48 40 sudo apt-get install subversion libsvn-java 49 41 }}} 50 42 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 51 51 open the eclipse.ini in a text editor with administrative privileges: 52 52 {{{ … … 58 58 }}} 59 59 then Eclipse will start without problems. 60 ---- 60 61 61 3. Install the m2eclipse plugin (explained below). 62 Run Eclipse 62 63 63 ---- 64 '''Download Eclipse and install the Plugins'''[[BR]][[BR]] 64 === 3. Install the m2eclipse and subclipse plugins 65 65 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.67 66 68 -Install the m2eclipse plugin from the following update address - [http://m2eclipse.sonatype.org/sites/m2e]67 Install the m2eclipse plugin from the following update address - [http://m2eclipse.sonatype.org/sites/m2e] 69 68 (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) 70 69 71 -In the same way, install the Subclipse plugin from the following update address - [http://subclipse.tigris.org/update_1.6.x]70 In the same way, install the Subclipse plugin from the following update address - [http://subclipse.tigris.org/update_1.6.x] 72 71 73 === Download thesource code and setup a project ===72 === 4. Download the project source code and setup a project === 74 73 75 74 Change 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 … … 81 80 - In Eclipse open Window -> Preferences -> Java -> Installed JREs 82 81 Delete 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)]] 84 83 85 84 - After this create a Shortcut to Eclipse.exe anywhere you like, right click the shortcut, and in the Target textbox add: … … 156 155 157 156 It should look like this: 158 [[Image(10.jpg ,align=left,top)]]157 [[Image(10.jpg]] 159 158 160 159 Click on Run and the application will start (some packages will be downloaded from the Internet for the first run). 161 160 162 On subsequent runs, you can speed up the process if you check the parameter Offlinein the Maven setting for that run goal.161 On subsequent runs, you can speed up the process if you check the parameter *Offline* in the Maven setting for that run goal. 163 162 164 163 The system listens on port 8081 (Jetty on 8081)