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 [2016/12/07 09:53] waruna [Eclipse Setup Using Plugins] updated the eclipse version |
eclipse_setup [2022/09/15 05:21] lnarmour |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | AlphaZ has been only tested on Linux 64 bits and MacOs. | + | AlphaZ has been only tested on 64 bit Linux and MacOS. There are several options that can be used to get a working eclipse instance with AlphaZ installed. |
- | =====Eclipse Setup Using Plugins===== | + | ===== Option 1 - Eclipse Setup on CS Department Machines |
+ | You must be a CSU student with access to the CS deparment machines to do this. An eclipse environment with all necessary plug-ins is available in the AlphaZ project directory. Run the following in a bash terminal to add the AlphaZ project directory to your path: | ||
+ | <code bash> | ||
+ | echo ' | ||
+ | source ~/.bashrc | ||
+ | </ | ||
- | For the newcomers (for others some of these steps are redundant): | + | Then launch |
- | - AlphaZ requires at least Java 7 (Java 8 is also supported). If Java 7 is not installed on your machine, install Java 7 from http:// | + | |
- | - Download | + | |
- | - Launch Eclipse | + | |
- | - Go to Help -> Install New Software | + | |
- | - In " | + | |
- | - 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 using update-site | + | |
- | + | ||
- | Since AlphaZ is still in very active development, | + | |
- | =====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> | <code bash> | ||
- | #!/bin/bash | + | eclipse.alphaz |
+ | </code> | ||
- | #Path to the eclipse | + | ===== Option 2 - Eclipse Setup using Local Install ===== |
- | export ECLIPSE_HOME=/ | + | Alternatively, |
- | #Path to the java used -- should NOT be changed | + | See the README in the AlphaZ git repo: \\ |
- | export JAVA_HOME=/usr/local/java64/bin/ | + | https://mustang.cs.colostate.edu: |
- | export PATH=${JAVA_HOME}: | + | |
- | ${ECLIPSE_HOME}/ | + | Note that this link is not public and is only accessible from the CSU network |
- | </ | + | |
- | Save the above script as '' | + | |
- | Don't forget | + | |
=====Checking out Sample Project====== | =====Checking out Sample Project====== | ||
- | To get started with AlphaZ, a Java plug-in project with examples can be checked out from our repository. | + | To get started with AlphaZ, a Java plug-in project with examples can be checked out from our repository. From Eclipse, do the following: |
+ | - '' | ||
+ | - In the '' | ||
+ | - Click '' | ||
+ | |||
+ | If you see certificate (SSL) warnings, ignore them. | ||
- | * Select ''" | ||
- | * Select ''" | ||
- | * Use '' | ||
- | * Select ''" | ||
- | * | ||
===What' | ===What' | ||
- | Inside the '' | + | Inside the '' |
- | Try running '' | + | Try running '' |
'' | '' | ||
Line 62: | Line 43: | ||
===== Common Pitfalls=== | ===== Common Pitfalls=== | ||
- | |||
- | |||
- | You may have some error connecting to the repository through eclipse | ||
- | * When your connection gets lost while trying to connect: | ||
- | * Go to ''" | ||
- | * The default SVN interface uses JNI bindings and it may not work depending on the machine. Pure Java version should. | ||
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 |