Copy link to clipboard
Copied
Hi all,
a little problem with cfcompile.
I tried on my Mac (high sierra) with CF2016 to compile a folder, or even just a file, with this scenario under my wwwroot:
- "compsrc" folder has just 1 file (Application.cfm)
- "compdst" folder is empty
Here's my console output
/Applications/ColdFusion2016/cfusion/bin > ./cfcompile.sh -cfruntimeuser ale -webroot /Applications/ColdFusion2016/cfusion/wwwroot -dir /Applications/ColdFusion2016/cfusion/wwwroot/compsrc -deploy /Applications/ColdFusion2016/cfusion/wwwroot/compdst
Password: ****
/Applications/ColdFusion2016/cfusion/wwwroot/compsrc/Application.cfm... successful 1
total 1
elapsed 0.587 sec
after this, my compdst folder is EMPTY!!
Any suggestions?
p.s. I tried the same in a Docker container based on Ubuntu, and with CF11 on both mac & ubuntu. Same results... I'm surely doing something wrong...
1 Correct answer
After a call with Adobe support, I've found an error on my command. The right one is
./cfcompile.sh -deploy -cfruntimeuser ale -webroot /Applications/ColdFusion2016/cfusion/wwwroot/compsrc/ -dir /Applications/ColdFusion2016/cfusion/wwwroot/compsrc/ -deploydir /Applications/ColdFusion2016/cfusion/wwwroot/compdst/
In the docs there's just the windows command; for referencing and help, just run the cfcompile.sh without params
Copy link to clipboard
Copied
After a call with Adobe support, I've found an error on my command. The right one is
./cfcompile.sh -deploy -cfruntimeuser ale -webroot /Applications/ColdFusion2016/cfusion/wwwroot/compsrc/ -dir /Applications/ColdFusion2016/cfusion/wwwroot/compsrc/ -deploydir /Applications/ColdFusion2016/cfusion/wwwroot/compdst/
In the docs there's just the windows command; for referencing and help, just run the cfcompile.sh without params

