Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
eclipse_setup [2022/09/15 05:21] lnarmour |
eclipse_setup [2023/06/01 17:01] lnarmour [Option 2 - Eclipse Setup using Local Install] |
Alternatively, you can install eclipse on your own machine and manually install the AlphaZ plugins directly. | Alternatively, you can install eclipse on your own machine and manually install the AlphaZ plugins directly. |
See the README in the AlphaZ git repo: \\ | See the README in the AlphaZ git repo: \\ |
https://mustang.cs.colostate.edu:3000/melange/AlphaZ | https://github.com/CSU-CS-Melange/AlphaZ |
| |
Note that this link is not public and is only accessible from the CSU network (you either need to be physically on campus or connected to the VPN). | |
| |
| |
To get started with AlphaZ, a Java plug-in project with examples can be checked out from our repository. From Eclipse, do the following: | To get started with AlphaZ, a Java plug-in project with examples can be checked out from our repository. From Eclipse, do the following: |
- ''File'' > ''Import...'' > ''Git''> ''Projects from Git'' > click ''Next'' > ''Clone URI'' > click ''Next'' | - ''File'' > ''Import...'' > ''Git''> ''Projects from Git'' > click ''Next'' > ''Clone URI'' > click ''Next'' |
- In the ''URI:'' field, specify ''https://mustang.cs.colostate.edu:3000/melange/AlphaZ'' > click ''Next'' and follow the prompts with defaults until you reach the "Import Projects" step | - In the ''URI:'' field, specify ''https://github.com/CSU-CS-Melange/AlphaZ'' > click ''Next'' and follow the prompts with defaults until you reach the "Import Projects" step |
- Click ''Deselect All'' > select the ''edu.csu.melange.alphabets.examples'' project from the list > click ''Finish'' | - Click ''Deselect All'' > select the ''edu.csu.melange.alphabets.examples'' project from the list > click ''Finish'' |
| |
| |
===What's Inside=== | ===What's Inside=== |
Inside the ''edu.csu.melange.alphabets.examples'' project, you will find two directories, ''AlphabetsExamples'' and ''CommandScripts''. Alphabets is the programming language for programming in equations (with extension .ab), and CompilerScripts (.cs) are script files to use the scripting interface of AlphaZ. | Inside the ''edu.csu.melange.alphabets.examples'' project, you will find four directories: ''AlphabetsExamples'', ''CodeGenTutorial'', ''CommandScripts'' and ''ValidationTutorial''. Alphabets is the programming language for programming in equations (with extension .ab), and CompilerScripts (.cs) are script files to use the scripting interface of AlphaZ. |
| |
Try running ''BasicScript.cs'' in the ''CommandScripts'' directory to make sure that the system is working on your machine (right click ''BasicScript.cs'' > ''Run as'' > ''Compiler Script''). | Try running ''BasicScript.cs'' in the ''CommandScripts'' directory to make sure that the system is working on your machine (right click ''BasicScript.cs'' > ''Run as'' > ''Compiler Script''). |