Commandbox question: is there a way to pre-downloa...
# box-products
c
Commandbox question: is there a way to pre-download a ColdFusion/Lucee version into the artifacts folder without starting up a server using that version? When 2018u14 becomes available I want to download it and add a needed patch jar to it before it gets used by an existing/new Commandbox-controlled server. I did look through the documentation at commandbox.ortusbooks.com but I didn't find anything that answered that directly.
d
This has been answered by brad for sure in this slack. I can't find it though...
b
@cfvonner Yes and no
You can do
Copy code
install lucee@1.2.3
or
Copy code
start cfengine=lucee@1.2.3 --dryRun
in a random folder, but both of those options will leave you with some stuff you'd need to delete.
There is no command that JUST downloads to artifacts, though I've contemplated making one.
d
Copy code
I got distracted with an interview. But I was going to say that its a flag and can be found with tab complete `server start --`
b
Yeah, you're thinking of
--dryRun
but it's worth noting it will still create a server home on disk and a server definition in CommandBox.
So if you `cd`'d into a random folder (with no server already defined in it) and ran
Copy code
start cfengine=... --dryRun
server forget --forget
then it wouldn't leave anything behind
👍 1