lucee.Component testbox.system.coverage.data.TemplateCompiler_Lucee
Copyright Ortus Solutions, Corp www.ortussolutions.com I contain the logic to force a compilation on Railo/Lucee. I will not compile on Adobe ColdFusion, so I require my own CFC.
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any
|
compileAndLoad(any filePath)
Call me to force a . |
any
|
createMapping([any mappingName], [any mappingPath])
|
private boolean
|
isWindows()
Detect if OS is Windows. |
string
|
locateDriveMapping(string driveLetter)
Accepts a Windows drive letter and returns a CF Mapping. |
string
|
locateUNCMapping(string UNCShare)
Accepts a Windows UNC network share and returns a CF Mapping. |
string
|
locateUnixDriveMapping(string rootFolder)
Accepts a Unix root folder and returns a CF Mapping. |
string
|
makePathRelative(string absolutePath)
Accepts an absolute path and returns a relative path. |
any
|
normalizeSlashes([string path])
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Method Detail |
---|
Call me to force a .cfm or .cfc to be compiled and the class loaded into memory
filePath
mappingName
mappingPath
Detect if OS is Windows
Accepts a Windows drive letter and returns a CF Mapping Creates the mapping if it doesn't exist
driveLetter
Accepts a Windows UNC network share and returns a CF Mapping Creates the mapping if it doesn't exist
UNCShare
Accepts a Unix root folder and returns a CF Mapping Creates the mapping if it doesn't exist
rootFolder
Accepts an absolute path and returns a relative path Does NOT apply any canonicalization
absolutePath
path