User Tools

Site Tools


eclipse_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
eclipse_setup [2018/09/25 16:14]
sanjay
eclipse_setup [2021/03/19 12:40]
lnarmour Dept java location changed, updated option 1 details
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. 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. The following script will start the eclipse with AlphaZ installed.\\+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> <code bash>
 #!/bin/bash #!/bin/bash
Line 9: Line 9:
 export ECLIPSE_HOME=/s/chopin/e/proj/AlphaZ/BinTree/eclipse-alphaz-bundle/eclipse/ export ECLIPSE_HOME=/s/chopin/e/proj/AlphaZ/BinTree/eclipse-alphaz-bundle/eclipse/
 #Path to the java used -- should NOT be changed #Path to the java used -- should NOT be changed
-export JAVA_HOME=/usr/local/java64/bin/+export JAVA_HOME=/usr/local/java/latest/bin/
 export PATH=${JAVA_HOME}:${PATH} export PATH=${JAVA_HOME}:${PATH}
  
-${ECLIPSE_HOME}/eclipse $* -vmargs -d64 -Xms256m -Xmx1024m &+${ECLIPSE_HOME}/eclipse $* -configuration ~/.eclipse_alphaz_config -vmargs -Xms256m -Xmx1024m &
 </code> </code>
 Save the above script as ''eclipse.custom'' on your home directory (say as ~/eclipse.custom) and run it (don't forget to give execute permission to the script). Save the above script as ''eclipse.custom'' on your home directory (say as ~/eclipse.custom) and run it (don't forget to give execute permission to the script).
  
-=====Eclipse Setup for External Environment ===== 
  
-Bundles for other environments are available under ''http://www.cs.colostate.edu/AlphaZ/bundles/''. \\ +===== Option 2 - Eclipse Setup using Docker ===== 
-Simply download the archive for your OS/architecture and extract its content.\\ +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: \\ 
-AlphaZ bundle will be also automatically updated.+https://hub.docker.com/repository/docker/narmour/alphaz-user-image
  
 +See the following for additional information if you want to use this option: \\
 +https://github.com/lnarmour/alphaz-user-image
  
- +===== Option 3 - Eclipse Setup using Local Install ===== 
-=====Eclipse Setup Using Plugins=====+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://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html.    - 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://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html. 
-  - Download Eclipse (Oxygen 4.7.1at http://www.eclipse.org/downloads/ (Eclipse IDE for Java Developers for your platform)+  - Download Eclipse (2019-03 Releasefrom https://www.eclipse.org/downloads/packages/release
   - 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://www.cs.colostate.edu/AlphaZ/update-sites/oxygen/site.xml (Oxygen 4.7.1 is the current version of Eclipse. For older versions of Eclipse use URL: https://www.cs.colostate.edu/AlphaZ/update-sites/<target>/site.xml where <target> is code name of the Eclipse distribution. i.e., neon)+  - In "Work with" text box, copy/paste the following URL: https://www.cs.colostate.edu/AlphaZ/update-sites/2019_03-master
-  - You should see several items including "AlphaZ Environment" and "AlphaZ Features". +  - You should see the item for "AlphaZ"
-  - Alphaz Environment has all the features required for AlphaZ +  - Select it, and proceed through the prompts to install the plugin.
-  - AlphaZ Features only have the features developed at CSU +
-  - Install "AlphaZ Environment".+
   - Hit next until Eclipse start installing the bundle.   - Hit next until Eclipse start installing the bundle.
   - Restart Eclipse.   - Restart Eclipse.
-  - To be able to check out project through svn with eclipse, please install the corresponding subeclipse plugins using update-site  https://dl.bintray.com/subclipse/releases/subclipse/latest/. /*All links that correspond to different versions of subeclipse is available on webpage http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA. Go to Help->Install New Software, and copy the corresponding URL in the "Work with" form, and install all the plugins. */ 
  
 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.txt · Last modified: 2023/06/01 17:01 by lnarmour