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 [2021/02/09 06:54] lnarmour |
||
---|---|---|---|
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 Using Plugins===== | + | There are several options to get a working eclipse instance with AlphaZ installed. |
+ | |||
+ | ===== Option 1 - Eclipse Setup on CS Department Machines ===== | ||
+ | You must be a CSU student with access to the CS machines to do this. 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> | ||
+ | # | ||
+ | |||
+ | #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 '' | ||
+ | |||
+ | |||
+ | ===== Option 2 - Eclipse Setup using Docker ===== | ||
+ | If you don't have access to the CSU machines or would rather run eclipse locally on your own machine, then you can use the following docker container: \\ | ||
+ | https:// | ||
+ | |||
+ | See the following for additional information if you want to use this option: \\ | ||
+ | https:// | ||
+ | |||
+ | ===== Option 3 - Eclipse Setup Using Local Install | ||
+ | If you don't want to use docker, then you can use this option to install eclipse on your own machine and manually install the AlphaZ plugins directly. | ||
- AlphaZ requires Java 8 or later and a Unix system (Linux or Mac OSX). If Java 8 is not installed on your machine, install Java from http:// | - AlphaZ requires Java 8 or later and a Unix system (Linux or Mac OSX). If Java 8 is not installed on your machine, install Java from http:// | ||
- | - Download Eclipse (Oxygen | + | - Download Eclipse (2019-03 Release) from https:// |
- Launch Eclipse | - Launch Eclipse | ||
- Go to Help -> Install New Software | - Go to Help -> Install New Software | ||
- | - In "Work with" text box, copy/paste the following URL: https:// | + | - In "Work with" text box, copy/paste the following URL: https:// |
- You should see several items including " | - You should see several items including " | ||
- Alphaz Environment has all the features required for AlphaZ | - Alphaz Environment has all the features required for AlphaZ | ||
Line 17: | Line 43: | ||
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 69: | ||
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 75: | ||
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 |