http://coldfusion.com logo
#box-products
Title
# box-products
c

cfvonner

05/10/2022, 5:15 PM
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

Daniel Mejia

05/10/2022, 5:17 PM
This has been answered by brad for sure in this slack. I can't find it though...
b

bdw429s

05/10/2022, 5:36 PM
@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

Daniel Mejia

05/10/2022, 5:39 PM
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

bdw429s

05/10/2022, 5:50 PM
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
5 Views