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.
Cygwin directory (cygwindir). Optional, may contain minimal CygWin distribution.
Getter: File MtConfig.getGygwinDir()
Example:C:\Documents and Settings\abb\.magictree\cygwin, c:\cygwin
Also see below for description of workdir.
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.
The application automatically loads and saves the following settings to $mtdir/settings file:
Desktop location
Desktop size
Auto-save period
Path to workdir
List of recently open/saved projects
Path to cygwindir
In the current version user input history uses Java Preferences for storage.