This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
eclipse_setup [2018/09/26 18:33] waruna [Eclipse Setup for CSU students] updated the script to use per user config directory |
eclipse_setup [2023/06/01 17:01] (current) lnarmour [Checking out Sample Project] |
||
|---|---|---|---|
| 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 for CSU students | + | ===== Option 1 - Eclipse Setup on CS Department Machines |
| - | The eclipse environment with all necessary plug-ins is available in the AlphaZ project directory. | + | 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. |
| <code bash> | <code bash> | ||
| - | #!/bin/bash | + | echo ' |
| + | source ~/.bashrc | ||
| + | </code> | ||
| - | #Path to the eclipse -- should NOT be changed | + | Then launch Eclipse with the following command: |
| - | export ECLIPSE_HOME=/ | + | <code bash> |
| - | #Path to the java used -- should NOT be changed | + | eclipse.alphaz |
| - | export JAVA_HOME=/ | + | |
| - | export PATH=${JAVA_HOME}:${PATH} | + | |
| - | + | ||
| - | ${ECLIPSE_HOME}/ | + | |
| </ | </ | ||
| - | Save the above script as '' | ||
| - | =====Eclipse Setup for External Environment | + | ===== Option 2 - Eclipse Setup using Local Install |
| + | Alternatively, | ||
| + | See the README in the AlphaZ git repo: \\ | ||
| + | https:// | ||
| - | Bundles for other environments are available under '' | ||
| - | Simply download the archive for your OS/ | ||
| - | AlphaZ bundle will be also automatically updated. | ||
| + | =====Checking out Sample Project====== | ||
| + | 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 '' | ||
| - | =====Eclipse Setup Using Plugins===== | ||
| - | |||
| - | - 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 - 4.7.1) at http:// | ||
| - | - 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====== | ||
| - | To get started with AlphaZ, a Java plug-in project with examples can be checked out from our repository. | ||
| - | |||
| - | * Select ''" | ||
| - | * Select ''" | ||
| - | * Use '' | ||
| - | * Select ''" | ||
| - | * | ||
| ===What' | ===What' | ||
| - | Inside the '' | + | Inside the '' |
| - | Try running '' | + | Try running '' |
| '' | '' | ||
| Line 63: | Line 40: | ||
| ===== Common Pitfalls=== | ===== Common Pitfalls=== | ||
| - | |||
| - | |||
| - | 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: | ||
| - | * 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 | ||