# Module

## Overview

Each item represent a module created for the active solution. Expanding the module will display the same list of nodes as contained by the [active solution](https://docs.servoy.com/reference/servoy-developer/solution-explorer/all-solutions/active-solution/..#overview), except for [Modules](https://docs.servoy.com/reference/servoy-developer/solution-explorer/all-solutions/active-solution/modules/..#overview).

## Properties Summary

See [Solution Object Model](https://docs.servoy.com/servoycore/object-model/solution#property-summary) for properties that can be set on a **Module** from Properties View.

## Commands Summary

A summary of commands available on this item via right-click context menu:

| Command                                               | Summary                                                |
| ----------------------------------------------------- | ------------------------------------------------------ |
| [Activate solution](#activate-solution)               | Change active solution to selected module.             |
| [Change resources project](#change-resources-project) | Changes resources project attached to module           |
| [Publish](#publish)                                   | Publishes solution Git repository to Servoy Cloud      |
| [Remove module](#remove-module)                       | Remove solution as module to active solution           |
| [Delete solution](#delete-solution)                   | Remove module (can choose to also delete it from disk) |
| [Rename solution](#rename-solution)                   | Can choose a new name for your module                  |
| [Run JSUnit tests](#run-jsunit-tests)                 | Runs jsunit tests from the solution                    |

## Commands Details

The details for each command available on this item via right-click context menu:

### Activate solution

Changes the active solution to selected module. Active solution is the one being edited and run in Servoy Developer.

### Change resources project

Can select a new resources project (or no resources project). Some Servoy Developer resources are kept under a different project, that can be re used by different solutions. Basically , what you see under [Resources](https://github.com/Servoy/gitbook/blob/master/reference/servoy-developer/solution-explorer/all-solutions/active-solution/resources/README.md) is saved under the resources project. Changing the resources project will reload all those resources from the new project. The module must have same resources project as its main solution.

### Publish

Publishes solution Git repository to Servoy Cloud. The local git repository must be in sync with remote repository (no changes).

### Remove module

Removes solution as module to active solution. The module itself is not deleted.

### Delete solution

Removes solution (can choose to also delete it from disk).

### Rename solution

You can choose a new name for your solution.

{% hint style="warning" %}
Warning\
Use with care.
{% endhint %}

### Run JSUnit tests

Runs JSUnit tests from selected module. See [Unit Testing](https://docs.servoy.com/reference/servoy-developer/object-editors/scripting-editor/unit-tests) for what is unit testing and [JSUnit API](https://docs.servoy.com/reference/servoycore/dev-api/jsunit) for JSUnit testing API.
