const classafFpm::FpmConfig

sys::Obj
  afFpm::FpmConfig

Represents configuration as parsed from a hierarchy of fpm.props files.

baseDir

Source

const File baseDir

The directory used to resolve relative files.

configFiles

Source

const File[] configFiles

The config files used to generate this class.

dump

Source

Str dump()

Dumps debug output to a string. The string will look similar to:

FPM Environment:

   Target Pod : shStackHubAdmin 0+
     Home Dir : C:\Apps\fantom-1.0.68
    Work Dirs : C:\Repositories\Fantom, C:\Apps\fantom-1.0.68
     Pod Dirs : C:\Projects\StackHub\stackhub-admin\lib
     Temp Dir : C:\Repositories\Fantom\temp
 Config Files : C:\Apps\fantom-1.0.68\etc\afFpm\config.props
   File Repos :
      default = C:\Repositories\Fantom\repo-default
      release = C:\Repositories\Fantom\repo-release
   Fanr Repos :
fantomFactory = http://pods.fantomfactory.org/fanr/
      repo302 = http://repo.status302.com/fanr/
fanrRepo

Source

Repo fanrRepo(Str repoName, Str? username := null, Str? password := null)

Returns a fanr Repo instance for the named repository. May be either a fileRepo or a fanrRepo.

username and password are only used if a fanrRepo is returned.

fanrRepos

Source

const Str:Uri fanrRepos

A map of named remote fanr repositories.

fileRepos

Source

const Str:File fileRepos

A map of named local file system repositories.

homeDir

Source

const File homeDir

The Fantom installation.

launchPods

Source

const Str[] launchPods

A list of libraries used to launch applications

podDirs

Source

const File[] podDirs

A list of directories where pods are picked up from.

rawConfig

Source

const Str:Str rawConfig

The raw FPM config gleaned from the configFiles. Does not include fanr credentials.

tempDir

Source

const File tempDir

The temp directory.

workDirs

Source

const File[] workDirs

A list of working directories. The workDir as returned by FpmEnv is is always first item in this list. homeDir is always the last entry in the list, so it is never empty.