If there is it would make my life easier as well, but for now I just placed
variables in there like {companyRoot}, and then onApplicationStart, I copy
from my shared source file to a new per-application location, and replace
all instances of {companyRoot} with the proper string.  Takes just a second
when your app first starts, and is worth it in the flexibility of not having
to maintain 5 copies of controller / transfer / coldspring / model-glue
config files!

Chris Peterson

On Wed, Nov 19, 2008 at 12:15 PM, Jonathan Logue <[EMAIL PROTECTED]>wrote:

>
> I am sure this has been posted somewhere at sometime, but I am not
> finding anything...
>
> Is there a way to use a variable in a controller's class path?
>
> <controllers>
>  <controller name="Controller"
> type="[custom_mapping].web.mod.Controller">
> </controllers>
>
> We have an application template in source control that we use as a
> starting point for deploying an application to multiple servers, but
> the CF mappings will be different in every situation. We have the code
> organized so that the Controller, ModelGlue, and ColdSpring
> configuration files are all module specific and reside in a number of
> different folders. It is a pain to go in and change every class path,
> so having some way to use a variable would be a nicety.
>
> Thanks,
>
> Jonathan Logue
> >
>


-- 
Hey! I dont tell you how to tell me what to do, so dont tell me how to do
what you tell me to do! ~ Bender (Futurama)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to