Skip to content

Building Vis From Source

Paweł Pastuszak edited this page Dec 7, 2018 · 16 revisions

Prerequisites:

  • Git
  • Optionally Git LFS extension installed if you want to download raw SVG skin files
  • JDK 8

Clone repository:

git clone https://github.com/kotcrab/vis-editor vis-editor

Intellij IDEA

Intellij IDEA is recommend IDE for Vis development. This section will explain how to setup Vis development environment. Select File, New, Project from Existing Sources and then select root build.gradle file. Press OK in next window and then press OK again in module selection window.

Common problems

If you are getting errors about invalid source level press Ctrl+Shift+Alt+S to open Project Settings, go to Project tab and set project language level to 8.

Launching VisUI test application

  1. Create new Gradle run configuration, change name to something like "Run UI test app"
  2. Set Gradle project to :ui
  3. Set task to run
  4. Save configuration and launch, use this configuration for future launches.