Getting the SORCER Project

You must first clone the SORCER project from the SORCER repository. You must have Git installed, and have access to repo.

git clone git@github.com:mwsobol/SORCER-multiFi.git

Building the Project

The SORCER project is built using Gradle. Gradle automates the building, testing, publishing, and deployment of the SORCER project.

To build and locally install all SORCER artifacts:

gradle distribution

To build and publish SORCER artifacts to the shared project repository:

gradle publish

Test individual projects (core/sorcer-int-tests/sorcer-tester, core/sorcer-int-tests/deploy-tests, examples/sml) with:

gradle test

To build everything, run tests and aggregate test results:

gradle tests

To run all tests and aggregate test results with service provisioning:

 gradle allTests

Examining the distribution

Once you have cloned the project, you will have a project directory containing the following items:

  • bin - Utilities and scripts
  • build.gradle - Top level Gradle build file
  • configs - Configuration files; sorcer.env, logging
  • core - SORCER core projects
  • distribution - SORCER distribution to work with
  • examples - Tutorial examples
  • gradle - Gradle extensions, and common project settings
  • gradle.properties - Property settings for Gradle
  • policy - Java policy files
  • sos - SORCER OS services
  • tools - SORCER tools, repo builder, service booter, testing, service browser, class server (webster)
  • settings.gradle - Gradle project settings file

Developing a Service Project

For development of SORCER services you must have Java 8 SDK, Gradle, Groovy, and Ant installed.

Checkout the following tutorials:

Back to top

Version: 1.0-SNAPSHOT. Last Published: 2020-01-18.