Highlighted

cfcompile cf2016 on mac or linux: destination folder is empty!

Community Beginner ,
Apr 16, 2018

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...

Correct answer by ale_lia | Community Beginner

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

Views

208

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

cfcompile cf2016 on mac or linux: destination folder is empty!

Community Beginner ,
Apr 16, 2018

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...

Correct answer by ale_lia | Community Beginner

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

Views

209

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 16, 2018 0
Community Beginner ,
May 25, 2018

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 25, 2018 0