Skip to content

Compile your scripts on Camunda Modeler with a code editor!

License

Notifications You must be signed in to change notification settings

sharedchains/camunda-code-editor

Repository files navigation

Code editor for Camunda Modeler

Compatible with Camunda Modeler version 5

A Camunda Modeler plug-in based on the plug-in example.

About

This plug-in integrates a script editor to Camunda Modeler, allowing a user to write scripts with code highlights and language auto completion.

Screencast

Install

Extract the release zip file to your camunda-modeler/resources/plugins folder. Super easy!

Limitations

Up to now, only if Script Format is 'groovy' or 'javascript'

  • JAVA instances must be present in the system PATH variable, otherwise the plugin will not be able to detect them correctly.
  • On javascript, only for 'simple' scripts which do not involve JSON/XML manipulation.
  • On groovy everything should work.

Development Setup

Unlike other plugins, this project has been wrapped in a Maven project to integrate other components inside it and generate a final bundle which contains:

  • The Camunda Modeler javascript plugin itself
  • Our Spring Boot groovy executor application which will get executed on Camunda Modeler startup
  • A standalone JDK which executes the mentioned application

To work on this plugin you will need to install:

Building the Plug-in

Just run mvn clean install. you will find the zip bundle in the target directory of the build module.

Compatibility Notice

This plugin is currently compatible with the following Camunda Modeler versions.

Camunda Modeler Code Editor Plugin
3.4 - 4.12 0.5.2
5.x 1.0 or newer

Additional Resources

Licence

MIT

This software includes JS-Interpreter based on Apache 2.0 license