Skip to content

alloyanalyzerplus/AlloyAnalyzerPlusIDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlloyAnalyzerPlusIDE

Analyzer Plus IDE is an extension to the Alloy Analyzer that provies built it support to test and debug models.

Requirements:

  • Operating Systems
    • Linux (64 bit)

Folders in this repository

  • "Jar" - Analyzer Plus IDE's standalone executable jar file
  • "Code" - Source code for Hawkeye
  • "Model" - Models used in our evaluation and case study

Installation:

Analyzer Plus IDE is available as a pre-compiled executable jar file under the folder "Jar" Additionally, Analyzer Plus IDE can be built and compiled. If compiling Analyzer Plus IDE, it is recommended you follow the installation instructions outlined here and reproduced below for convenience. Since Analyzer Plus IDE builds on the Analyzer, it requires the user to set up and install the Analyzer's code base.

Building Alloy

The Alloy build is using a bnd workspace setup using a maven layout. This means it can be build with Gradle and the Eclipse IDE for interactive development. Projects are setup to continuously deliver the executable.

Projects

The workspace is divided into a number of projects:

Relevant Project files

This workspace uses bnd. This means that the following have special meaning:

  • cnf/build.xml – Settings shared between projects
  • ./bnd.bnd – Settings for a project. This file will drag in code in a JAR.
  • cnf/central.xml – Dependencies from maven central

Eclipse

The workspace is setup for interactive development in Eclipse with the Bndtools plugin. Download Eclipse and install it. You can then Import existing projects from the Git workspace. You should be asked to install Bndtools from the market place. You can also install Bndtools directly from the Eclipse Market place (see Help/Marketplace and search for Bndtools).

Bndtools will continuously create the final executable. The projects are setup to automatically update when a downstream project changes.

IntelliJ IDEA (Ultimate Edition only)

Ensure you have the [Osmorc] plugin is enabled, as this plugin is needed for Bndtools support. It should be enabled by default.

  1. Choose "Import Project"
  2. Select the org.alloytools.alloy directory.
  3. Choose "Import project from external model: Bnd/Bndtools" and click "Next"
  4. For "Select Bnd/Bndtools project to import", all projects should be checked by default, click "Next"
  5. For project SDK, Choose "1.8", Click Finish

Note: do not link the Gradle project, as this will prevent you from running Alloy within IDEA.

To run the Alloy GUI within IDEA, navigate to org.alloytools.alloy.application/src/main/java/edu/mit/csail/sdg/alloy4whole/SimpleGUI and run the SimpleGUI class.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors