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 [2015/03/04 14:17] 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. |
- | For the newcomers (for others some of these steps are redundant): | + | ===== Option 1 - Eclipse Setup on CS Department Machines |
- | - AlphaZ requires Java 7. If Java 7 is not installed on your machine, install Java 7 from http:// | + | 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.\\ |
- | - Download Eclipse (Luna - 4.4.2) at http:// | + | |
- | - Launch Eclipse | + | |
- | - Go to Help -> Install New Software | + | |
- | - In "Work with" form, copy/paste the following URL: if you are an user: https:// | + | |
- | - You should see several items including " | + | |
- | - Install " | + | |
- | - Hit next until Eclipse start installing the bundle. | + | |
- | - Restart Eclipse. | + | |
- | - To be able to check out project through svn with eclipse, please install the corresponding subeclipse plugins. All links that correspond to different versions of subeclipse is available on webpage http:// | + | |
- | + | ||
- | Since AlphaZ is still in very active development, | + | |
- | =====Eclipse Setup for External Environment | + | |
- | + | ||
- | Bundles for other environments are available under '' | + | |
- | Simply download | + | |
- | 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> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
Line 34: | Line 14: | ||
export PATH=${JAVA_HOME}: | export PATH=${JAVA_HOME}: | ||
- | ${ECLIPSE_HOME}/ | + | ${ECLIPSE_HOME}/ |
</ | </ | ||
- | Save the above script as '' | + | Save the above script as '' |
- | Don't forget to give execute permission to the script. | + | |
+ | |||
+ | ===== 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:// | ||
+ | - Download Eclipse (2019-03 Release) from https:// | ||
+ | - Launch Eclipse | ||
+ | - Go to Help -> Install New Software | ||
+ | - In "Work with" text box, copy/paste the following URL: https:// | ||
+ | - You should see several items including " | ||
+ | - Alphaz Environment has all the features required for AlphaZ | ||
+ | - AlphaZ Features only have the features developed at CSU | ||
+ | - Install " | ||
+ | - Hit next until Eclipse start installing the bundle. | ||
+ | - Restart Eclipse. | ||
+ | - To be able to check out project through svn with eclipse, please install the corresponding subeclipse plugins using update-site | ||
+ | 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.\\ | ||
=====Checking out Sample Project====== | =====Checking out Sample Project====== | ||
Line 65: | 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 70: | 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 |