Running Model-Glue 3 on a box with Model-Glue 2

This post is more than 2 years old.

Just a quick tip. If your box is setup to run Model-Glue2 already, you probably have a ColdFusion mapping set up for ModelGlue that points to the V2 framework. If you want to play with V3 but not mess up your V2 sites (not to imply Joe is anything less than perfect), then consider this simple tip.

Make a new instance of the application template, then open up Application.cfc and add this:

<cfset this.mappings["/ModelGlue"] = "/Users/ray/Documents/workspace/ModelGlue3/trunk/ModelGlue/">

Of course you would edit the path to point to the right folder. This will overrule the ColdFusion Admin's mapping and use a model specific to the application. Of course, this requires ColdFusion 8.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Shimju David posted on 5/7/2008 at 7:11 PM

This was another query I wanted to ask you.

Comment 2 by Brian posted on 5/10/2008 at 12:10 AM

Yup, that concept bit me hard on me first deployment of an application.cfc... I didn't realize that I was going to lose some predefined mappings, and it took me at least a week and then an Aha! moment to realize that I could mold my own mappings. That alone was worth a 5 minute happy dance.