Hi Guys When I try and use cfconfig, I get this: ...
# box-products
c
Hi Guys When I try and use cfconfig, I get this:
Copy code
CommandBox:commandbox-jre-win64-5.6.1> cfconfig export from=C:\domains\<http://cg-acf11-0-19_314546.com|cg-acf11-0-19_314546.com>\wwwroot to=api-learningassistant-local-acf11019314546_config.json
Copy code
ERROR (5.6.1+00618)

Command "cfconfig export from=C:\domains\<http://cg-acf11-0-19_314546.com|cg-acf11-0-19_314546.com>\wwwroot to=api-learningassistant-local-acf11019314546_config.json" cannot be resolved.
j
It's been awhile since I used cfconfig on Windows but it's probably a path issue ... You could try surrounding the from path with quotes "C:\domains\...", or doing C:\\domains\\...
Also won't hurt anything to just run 'install commandbox-cfconfig' anyway to verify it's installed
c
Thanks Jim. I get a feeling it requires installation?
It definitely needed installing...
Now I get this:
Copy code
CommandBox> cfconfig export from="C:\domains\<http://cg-acf11-0-19_314546.com|cg-acf11-0-19_314546.com>\wwwroot\la-api" to=api-learningassistant-local-acf11019314546_config.json
Copy code
You gave the location of the [from] server, but we couldn't figure out the format to use.
Copy code
Please help us by adding [fromFormat=...] to your command.
What is
fromFormat
?
I am pointing the
from
value to my webroot
Or do I need to point it at the
C:\Users\ADMCharlesr\.CommandBox\server
location
This directory:
Copy code
C:\domains\<http://cg-acf11-0-19_314546.com|cg-acf11-0-19_314546.com>\wwwroot\la-api
Has a
server.json
in it
OK. I am beginning to think I need to point it at:
Copy code
C:\Users\ADMCharlesr\.CommandBox\server\567217CBB5D34614D303AD5341B28D6C-api_learningassistant_local_acf11019314546\adobe-11.0.19.314546\WEB-INF\cfusion\lib\neo-runtime.xml
Like:
Copy code
cfconfig export from="C:\Users\ADMCharlesr\.CommandBox\server\567217CBB5D34614D303AD5341B28D6C-api_learningassistant_local_acf11019314546\adobe-11.0.19.314546\WEB-INF\cfusion\lib" to=api-learningassistant-local-acf11019314546_config.json fromFormat=adobe@11.0.19+314546
b
Docs, my friend. They are an amazing thing 🙂
😀 1
That page tells you where the from needs to point
So for Adobe, it's
The
cfusion
folder that contains the
lib/neo-runtime.xml
file. An example would be:
👍 1
@Charles Robertson
c
Thanks very much...🙏