const classafFpm::FpmConfig
sys::Obj afFpm::FpmConfig
Represents configuration as parsed from a hierarchy of fpm.props
files.
- baseDir
const File baseDir
The directory used to resolve relative files.
- configFiles
const File[] configFiles
The config files used to generate this class.
- dump
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://eggbox.fantomfactory.org/fanr/ repo302 = http://repo.status302.com/fanr/
- fanrRepo
Repo fanrRepo(Str repoName, Str? username := null, Str? password := null)
Returns a fanr
Repo
instance for the named repository. May be either afileRepo
or afanrRepo
.username
andpassword
are only used if afanrRepo
is returned.- fanrRepos
A map of named remote fanr repositories.
- fileRepos
A map of named local file system repositories.
- homeDir
const File homeDir
The Fantom installation.
- launchPods
const Str[] launchPods
A list of libraries used to launch applications
- podDirs
const File[] podDirs
A list of directories where pods are picked up from.
- rawConfig
The raw FPM config gleaned from the
configFiles
. Does not include fanr credentials.- tempDir
const File tempDir
The temp directory.
- workDirs
const File[] workDirs
A list of working directories. The
workDir
as returned byFpmEnv
is is always first item in this list.homeDir
is always the last entry in the list, so it is never empty.