r16 - 07 Nov 2007 - 14:07:58 - HeikkiToivonenYou are here: OSAF >  Projects Web  >  DevelopmentHome > ZeroPointFiveEngineering > ProfileDirectory

Chandler Profile Directory

Chandler will create a profile directory, where the __repository__ (database) is created and stored. Additional support files like randpool.dat may also be created there, as well as log files like chandler.log and commit.log. chandler.prefs will also be stored there by default.

The permissions for the directory are set so that the current user has all rights and nobody else has any rights.

You can view the chandler.log file conveniently from Chandler itself by selecting Tools > Logging > Log window... from the menus.

Windows

  • Is the environment variable APPDATA present, if so use it
  • Is the environment variable USERPROFILE present, if so append "Application Data" and use it
  • Are the environment variables HOMEDIR and HOMEPATH present, if so join them and use it
  • Join "Open Source Applications Foundation"
  • Join "Chandler"
  • In version 0.7.2 (specifically r15714) and earlier: Join Chandler version number
  • Join <random>.default (where <random> is 8 characters long string, consisting of alphanumeric letters)

So typically this would result in the following (on Windows XP):

C:\Documents and Settings\username\Application Data\Open Source Applications Foundation\Chandler\uIQwZD4O.default

Mac

Determine the users home directory, e.g. /Users/bear/ and join "Library", "Application Support", "Open Source Applications Foundation", "Chandler". In version 0.7.2 (specifically r15714) and earlier join Chandler version. Finally join "<random>.default" (where <random> is 8 characters long string, consisting of alphanumeric letters). So that would be:

/Users/username/Library/Application Support/Open Source Applications Foundation/Chandler/uc7wZD47.default

Linux

Determine the users home directory, e.g. /home/bear/, then join ".chandler". In version 0.7.2 (specifically r15714) and earlier join Chandler version. Finally join "<random>.default" (where <random> is 8 characters long string, consisting of alphanumeric letters). So that would be:

/home/username/.chandler/rIQwZD4x.default

Overriding default

There is a command line parameter and an environment variable that can be used to override the automatic directory:

  • --profileDir=/path/to/foo
  • -P /path/to/foo
  • PROFILEDIR

Uninstall

The Chandler uninstall process does not touch the profile.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r16 < r15 < r14 < r13 < r12 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.