-
Notifications
You must be signed in to change notification settings - Fork 130
Building Vis From Source
Paweł Pastuszak edited this page Mar 11, 2016
·
16 revisions
Prerequisites:
- Git with LFS extension installed
- JDK 8
Clone repository:
git clone https://github.com/kotcrab/vis-editor vis-editor
Running from command line:
gradlew :editor:run
Building zip distribution:
gradlew destZip
This will create zip file in vis-editor\build\distributions
containing main jar file, built-in plugins and all required editor libraries.
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.
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.
- Create new Gradle run configuration, change name to something like "Run Editor"
- Set Gradle project to
vis-editor:editor
- Set task to
run
- Set VM options to
-Dfile.encoding=UTF-8
- Save configuration and launch, use this configuration for future launches.
- Create new Gradle run configuration, change name to something like "Run UI test app"
- Set Gradle project to
vis-editor:ui
- Set task to
run
- Save configuration and launch, use this configuration for future launches.
See README for VisUI introduction.