Coldbox 5 - Running in mixed Coldbox Environment

In our production environment, we have a single webroot with multiple subfolders one for each of our dozen or so applications.

We have a number of Coldbox 3 and Coldbox 4 apps running on our server side by side by using

`
this.mappings[“/coldbox”] = expandPath(“\coldbox4_3”); // tell the application where ColdBox lives

`

In the Application.cfc of our ColdBox 4 apps.

I downloaded Coldbox 5 to evaluate how much effort it will take to migrate (in particular migrating our our CB 3 apps straight to CB5).

I spun up an empty website and dropped Commandbox at the root level and used the “coldbox create app” to create a simple app and it worked fine.

Then I renamed the /coldbox folder to /coldbox5_0 and added the following line to Application.cfc

this.mappings["/coldbox"] = expandPath("\coldbox5_0"); // tell the application where ColdBox lives

And now I am getting the following error:

Could not find the ColdFusion component or interface C:/_code/__ww2/coldbox/system/ioc/config/Binder.cfc. |

  • |
    Ensure that the name is correct and that the component or interface exists. |

Is there a way to get ColdBox 5 to live along side Coldbox 4 and 3?
-or-
Do I need to plan to set up a separate port/website to keep all my Coldbox 5 applications on?

(hope my question was clear enough… did not want to bore you with too much needless detail)