I have a few questions.
Is ColdBox 4 still in beta or already in gold release?
What is the command to install and create app based on ColdBox 4? Is this correct?
coldbox create app myApp AdvancedScriptBE --installColdBoxBE
I believed that command would install ColdBox 4 because I found /models folder (instead of /model), but when I called myApp, it was showing 3.8.
When I restarted my Railo, myApp threw an error.
Oopsy! Something went wrong!
Messages: component [coldbox.system.web.services.ModuleService] has no function with name [loadMappings]
I did put ?fwreinit=1, but it was not working.
> Is ColdBox 4 still in beta or already in gold release?
> What is the command to install and create app based on ColdBox 4?
coldbox create app myApp --installColdBox
Now that 4.0 is the stable release, you don’t need to specify the bleeding edge. The advancedScriptBE template doesn’t even exist anymore. In fact, if CommandBox isn’t erroring out on that, you need to update CommandBox. If you installed CommandBox before it went gold, you should wipe it and do a clean install. After that, the “upgrade” command will get the newest stable version for you.
> but when I called myApp,
Like how? On the telephone? Can you explain?
> it was showing 3.8
Showing where? In the code? On the screen? Caller ID?
> When I restarted my Railo, myApp threw an error.
If you already have ColdBox 3.8 installed, it’s probably skipping the installation of 4.0. Check the output of the “coldbox create app” command. It will tell you whether or not it’s actually installing ColdBox. Try doing this first:
ColdBox Platform Evangelist
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Thanks so much as always. I redownloaded and reinstalled the CommandBox; and ran the command. It picked up the right version, ColdBox 4.0.0.
For the error message, you’re right. I had ColdBox 3.8 version on my system. I wiped it out; and now everything seems working as it should be.