User Tools

Site Tools


eclipse_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eclipse_setup [2017/11/29 16:20]
waruna [Eclipse Setup Using Plugins]
eclipse_setup [2018/09/25 16:14] (current)
sanjay
Line 1: Line 1:
 AlphaZ has been only tested on Linux 64 bits and MacOs. AlphaZ has been only tested on Linux 64 bits and MacOs.
 +
 +=====Eclipse Setup for CSU students =====
 +The eclipse environment with all necessary plug-ins is available in the AlphaZ project directory. The following script will start the eclipse with AlphaZ installed.\\
 +<code bash>
 +#!/bin/bash
 +
 +#Path to the eclipse -- should NOT be changed
 +export ECLIPSE_HOME=/​s/​chopin/​e/​proj/​AlphaZ/​BinTree/​eclipse-alphaz-bundle/​eclipse/​
 +#Path to the java used -- should NOT be changed
 +export JAVA_HOME=/​usr/​local/​java64/​bin/​
 +export PATH=${JAVA_HOME}:​${PATH}
 +
 +${ECLIPSE_HOME}/​eclipse $* -vmargs -d64 -Xms256m -Xmx1024m &
 +</​code>​
 +Save the above script as ''​eclipse.custom''​ on your home directory (say as ~/​eclipse.custom) and run it (don't forget to give execute permission to the script).
 +
 +=====Eclipse Setup for External Environment =====
 +
 +Bundles for other environments are available under ''​http://​www.cs.colostate.edu/​AlphaZ/​bundles/''​. \\
 +Simply download the archive for your OS/​architecture and extract its content.\\
 +AlphaZ bundle will be also automatically updated.
 +
 +
  
 =====Eclipse Setup Using Plugins===== =====Eclipse Setup Using Plugins=====
Line 17: Line 40:
  
 If you met some problems while using AlphaZ, please refer to the common pitfall section. We described some common problems that users met, and provided possible solutions.\\ If you met some problems while using AlphaZ, please refer to the common pitfall section. We described some common problems that users met, and provided possible solutions.\\
-=====Eclipse Setup for External Environment ===== 
- 
-Bundles for other environments are available under ''​http://​www.cs.colostate.edu/​AlphaZ/​bundles/''​. \\ 
-Simply download the archive for your OS/​architecture and extract its content.\\ 
-AlphaZ bundle will be also automatically updated. 
- 
- 
-=====Eclipse Setup for CSU students ===== 
-The eclipse environment with all necessary plug-ins is available in the AlphaZ project directory. The following script will start the eclipse with AlphaZ installed.\\ 
-<code bash> 
-#!/bin/bash 
- 
-#Path to the eclipse -- should NOT be changed 
-export ECLIPSE_HOME=/​s/​chopin/​e/​proj/​AlphaZ/​BinTree/​eclipse-alphaz-bundle/​eclipse/​ 
-#Path to the java used -- should NOT be changed 
-export JAVA_HOME=/​usr/​local/​java64/​bin/​ 
-export PATH=${JAVA_HOME}:​${PATH} 
- 
-${ECLIPSE_HOME}/​eclipse $* -vmargs -d64 -Xms256m -Xmx1024m & 
-</​code>​ 
-Save the above script as ''​eclipse.custom''​ on your home directory (~/​eclipse.custom)\\ 
-Don't forget to give execute permission to the script. 
- 
  
 =====Checking out Sample Project====== =====Checking out Sample Project======
Line 66: Line 66:
  
 You may have some error connecting to the repository through eclipse You may have some error connecting to the repository through eclipse
 +  * When you run a *.cs file, if you see an error containing "​com.google.common"​ then try again after removing "​com.google.guava_21.0.0.v20170206-1425.jar"​ file from Eclipse/​plugins directory.
   * When your connection gets lost while trying to connect:   * When your connection gets lost while trying to connect:
      * Go to ''"​Preferences→Team→SVN"''​ and change the SVN interface to ''"​SVNKit(Pure Java)"''​ and try again.      * Go to ''"​Preferences→Team→SVN"''​ and change the SVN interface to ''"​SVNKit(Pure Java)"''​ and try again.
Line 71: Line 72:
  
 Check the following if something does not work Check the following if something does not work
-  * AlphaZ requires JRE1.7. Please make sure you have the Java installed on your machine, and it is the default java version used by eclipse. Otherwise, the plugins installed will not be activated. ​To be sure that your eclipse is using Java 7, you can start your eclipse with explicitly specified Java path. For example: ./eclipse -vm /​home/​yun/​yun_temp/​jdk1.7.0/​bin/​java .  +  * AlphaZ requires JRE1.8. Please make sure you have the Java installed on your machine, and it is the default java version used by eclipse. Otherwise, the plugins installed will not be activated. ​
-  * AlphaZ is updated frequently, if you are using it on an external machine, run the update script+
   * Most of the machines in the department is 64bit linux, but some are 32bit. You won't be able to start eclipse in those machines.   * Most of the machines in the department is 64bit linux, but some are 32bit. You won't be able to start eclipse in those machines.
-  * Eclipse ​may not reflect ​some changes try+  * If Eclipse ​does not reflect ​the changes ​you made, try
     * Cleaning the project     * Cleaning the project
     * Starting eclipse with -clean option so that plug-ins are refreshed     * Starting eclipse with -clean option so that plug-ins are refreshed
eclipse_setup.1511997640.txt.gz · Last modified: 2017/11/29 16:20 by waruna