What is an Anchor distribution?
An Anchor distribution is a folder which contains all the jars and configuration-files to run Anchor. It has the following structure:
| Folder | Description |
|---|---|
bin/ |
anchor-launcher.jar and associated helper-applications |
lib/ |
other anchor jars and third-party dependencies |
config/ |
default configuration files in BeanXML for the anchor application |
models/ |
bundled trained machine-learning models |
Note: Add the bin/ directory to the
PATH system environment variable for easy command-line usage.Launcher applications
Launcher applications (anchor, anchor.exe, etc.) run the relevant jar with a specific memory profile, also ensuring lib/ and plugins/are added to the classpath.
The UNIX launcher application (anchor ) is a BASH script that can be easily edited.
The Windows launcher application (anchor.exe) uses Launch4J to launch Java directly from windows. These are created during the Maven build process.