This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
eclipse_setup [2017/11/29 16:20] waruna [Eclipse Setup Using Plugins] |
eclipse_setup [2018/09/26 18:33] waruna [Eclipse Setup for CSU students] updated the script to use per user config directory |
||
---|---|---|---|
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=/ | ||
+ | #Path to the java used -- should NOT be changed | ||
+ | export JAVA_HOME=/ | ||
+ | export PATH=${JAVA_HOME}: | ||
+ | |||
+ | ${ECLIPSE_HOME}/ | ||
+ | </ | ||
+ | Save the above script as '' | ||
+ | |||
+ | =====Eclipse Setup for External Environment ===== | ||
+ | |||
+ | Bundles for other environments are available under '' | ||
+ | Simply download the archive for your OS/ | ||
+ | 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 '' | ||
- | Simply download the archive for your OS/ | ||
- | 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=/ | ||
- | #Path to the java used -- should NOT be changed | ||
- | export JAVA_HOME=/ | ||
- | export PATH=${JAVA_HOME}: | ||
- | |||
- | ${ECLIPSE_HOME}/ | ||
- | </ | ||
- | Save the above script as '' | ||
- | 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 " | ||
* When your connection gets lost while trying to connect: | * When your connection gets lost while trying to connect: | ||
* Go to ''" | * Go to ''" | ||
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 7 installed on your machine, and it is the default java version used by eclipse. Otherwise, the plugins installed will not be activated. | + | * AlphaZ requires JRE1.8. Please make sure you have the Java 8 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 | + | * If Eclipse |
* 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 |