Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The master branch is normally usable but may introduce untested features and APIs which will be removed at the next release. But each release is tagged in the source tree if you want to build a stable version.
Currently there are no build scripts and no dependency management tool is used. Binary dependencies are in <project root>/common/lib.
The recommended way to build ScreenSlicer is to clone:
The cloned source tree contains Eclipse Java projects. Open Eclipse and import those existing projects into your Eclipse workspace. Be sure you have a Java 8 JRE installed (including JavaFX 8 which is part of the JRE but some Linux distribution have separated them in their repositories).
Next, in Eclipse launch a new Java application and choose the main class in the 'core' project. When it launches, a screenslicer.config file is generated in the working directory (the 'core' directory). ScreenSlicer is now able to be used via the Java API, com.screenslicer.webapp.ScreenSlicer
If you want to use the JSON API, copy the generated 'core' screenslicer.config file to the 'api' directory. Then, without terminating the core application, launch a new Java application and choose the main class in the 'api' project. Your server is now started and ready to process requests.
In Eclipse, choose to export a runnable JAR for each of the two launch configurations above.