What about Application mappings, available as of CF8?

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

>
> Yeah, that might be the only option. This is going to be used by
> developers with a wide variety of expertise, so I am trying to make it
> as straight forward as possible... I suppose I could bury the
> generated files someplace obscure to avoid the confusion of multiple
> MG files.
>
> Thanks for the input!
>
> On Nov 19, 9:34 am, "Chris Peterson" <[EMAIL PROTECTED]> wrote:
> > 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)- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 

Nando M. Breiter
The CarbonZero Project
CP 234
6934 Bioggio
Switzerland
+41 76 303 4477
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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