< Simple Reporting Without Templates | Configuration Options >

Files and Directories

Layout of the directories

The application is delivered as a single JAR file which can be placed at any location. Besides the jar we use a single location to store files related to MagicTree, called a /MagicTree directory/ or mtdir. It contains several subdirectories.

Also see below for description of workdir.

Paths to the directories

mtdir/*

By default the application places mtdir at .magictree/ under user's home directory. Paths to all other directories (except workdir and cygwindir) are calculated by adding a predefined suffix to MagicTree directory, as shown above.

workdir

We also have a concept of work directory (workdir). By default it is set to user's homedir, but its value gets changed to location of the most recently open/saved/merged file.

cygwindir

For Windows platform, MagicTree also should know a path to cygwin directory (cygwindir). We provide alternative MagicTree package bundled with minimal cygwin distribution, which will be extracted under mtdir. It will be used if there is no explicit cygwindir setting (see below).

Files

Settings

The application automatically loads and saves the following settings to $mtdir/settings file:

User input history

In the current version user input history uses Java Preferences for storage.

< Simple Reporting Without Templates | Configuration Options >