Does anybody happen to know the Application root f...
# box-products
j
Does anybody happen to know the Application root for a commandBox install? I am on macOS and if I could install ColdFusion on the Mac, the Application root would be /Applications/ColdFusion2021. The port I am using is, 54853.l Thanks in advance. The reason I want to know the Application root is for the VS CF Builder extension.
b
@johnbarrett Is application root the SERVER home or the web root where your index.cfm and friends go?
because I had assumed it was the latter
Nonetheless, you can get the server home dir for ay server by running
Copy code
server info property=serverHomeDirectory
j
Thanks so much @bdw429s! Yes I meant server home, sorry about the confusion. Thanks for the server info command, this is actually what I was looking for, thanks again.
b
@johnbarrett Did you confirm that with Adobe though?
because when I tested the VSCode extension, I assumed they mean the web root
Since they used the word "application" as in "web app"
But then again, the RDS stuff was all broken for me so perhaps that was why 🤔
I got no help from the CF engineers on the beta forum and basically gave up for now on the extension
j
@bdw429s when I run the command I get the server home, but it still tells me, "Invalid Server Home" I think that on macOS it must be from the CF install and not commandBox. Anyway, I can't seem to get it working. Thanks so much for all your help!
r
It's the web root for the VS Code extension.
b
@johnbarrett Keep in mind if the extension is wanting the server home, it's probably looking for a subfolder of CommandBox's "server home" I would suspect the
WEB-INF/cfusion
subfolder.
But Rodney seems to be saying, it's asking for the web root, not the server home.