I have just downloaded the 1.8 version and that has the new
environment properties available. I have read through the wiki and
have not been able to see any data regarding this point, but forgive
me if this has already been covered somewhere.
Basically what I would like to know is if the key mach-ii properties
such as applicationRoot urlBase etc are able to be defined per
environment?
This is because they vary from my development to production
environments. Is this possible?
> I have just downloaded the 1.8 version and that has the new
> environment properties available. I have read through the wiki and
> have not been able to see any data regarding this point, but forgive
> me if this has already been covered somewhere.
> Basically what I would like to know is if the key mach-ii properties
> such as applicationRoot urlBase etc are able to be defined per
> environment?
> This is because they vary from my development to production
> environments. Is this possible?
That sounds good. I'm guessing where I place the values of the property, I would be calling the keys the same name as if they were a root mach-ii property for it to all work ok?
----- Original Message ----- From: "Peter J. Farrell" <pe...@mach-ii.com>
To: <mach-ii-for-coldfusion@googlegroups.com>
Sent: Thursday, November 05, 2009 11:11 AM
Subject: [Mach-II] Re: Environment Property
> The short answer is yes. A property in Mach-II is a property even if
> it's a configuration property used by the framework.
> N.B. Properties are loaded in the order they are defined. So put your
> environment property near the top of your properties block.
> shuns said the following on 11/04/2009 05:36 PM:
>> Hi Guys
>> I have just downloaded the 1.8 version and that has the new
>> environment properties available. I have read through the wiki and
>> have not been able to see any data regarding this point, but forgive
>> me if this has already been covered somewhere.
>> Basically what I would like to know is if the key mach-ii properties
>> such as applicationRoot urlBase etc are able to be defined per
>> environment?
>> This is because they vary from my development to production
>> environments. Is this possible?
> That sounds good. I'm guessing where I place the values of the property, I > would be calling the keys the same name as if they were a root mach-ii > property for it to all work ok?
> Regards
> Shaun
> ----- Original Message ----- > From: "Peter J. Farrell" <pe...@mach-ii.com>
> To: <mach-ii-for-coldfusion@googlegroups.com>
> Sent: Thursday, November 05, 2009 11:11 AM
> Subject: [Mach-II] Re: Environment Property
>> The short answer is yes. A property in Mach-II is a property even if
>> it's a configuration property used by the framework.
>> N.B. Properties are loaded in the order they are defined. So put your
>> environment property near the top of your properties block.
>> shuns said the following on 11/04/2009 05:36 PM:
>>> Hi Guys
>>> I have just downloaded the 1.8 version and that has the new
>>> environment properties available. I have read through the wiki and
>>> have not been able to see any data regarding this point, but forgive
>>> me if this has already been covered somewhere.
>>> Basically what I would like to know is if the key mach-ii properties
>>> such as applicationRoot urlBase etc are able to be defined per
>>> environment?
>>> This is because they vary from my development to production
>>> environments. Is this possible?
----- Original Message ----- From: Peter J. Farrell To: mach-ii-for-coldfusion@googlegroups.com Sent: Thursday, November 05, 2009 11:43 AM
Subject: [Mach-II] Re: Environment Property
Net Grow - Shaun said the following on 11/04/2009 06:22 PM: Thanks Peter,
That sounds good. I'm guessing where I place the values of the property, I would be calling the keys the same name as if they were a root mach-ii property for it to all work ok?
Regards
Shaun
----- Original Message ----- From: "Peter J. Farrell" <pe...@mach-ii.com>
To: <mach-ii-for-coldfusion@googlegroups.com>
Sent: Thursday, November 05, 2009 11:11 AM
Subject: [Mach-II] Re: Environment Property
The short answer is yes. A property in Mach-II is a property even if
it's a configuration property used by the framework.
N.B. Properties are loaded in the order they are defined. So put your
environment property near the top of your properties block.
shuns said the following on 11/04/2009 05:36 PM:
Hi Guys
I have just downloaded the 1.8 version and that has the new
environment properties available. I have read through the wiki and
have not been able to see any data regarding this point, but forgive
me if this has already been covered somewhere.
Basically what I would like to know is if the key mach-ii properties
such as applicationRoot urlBase etc are able to be defined per
environment?
This is because they vary from my development to production
environments. Is this possible?
> Net Grow - Shaun said the following on 11/04/2009 06:22 PM:
> Thanks Peter,
> That sounds good. I'm guessing where I place the values of the property, I
> would be calling the keys the same name as if they were a root mach-ii
> property for it to all work ok?
> Regards
> Shaun
> ----- Original Message -----
> From: "Peter J. Farrell" <pe...@mach-ii.com> <pe...@mach-ii.com>
> To: <mach-ii-for-coldfusion@googlegroups.com> <mach-ii-for-coldfusion@googlegroups.com>
> Sent: Thursday, November 05, 2009 11:11 AM
> Subject: [Mach-II] Re: Environment Property
> The short answer is yes. A property in Mach-II is a property even if
> it's a configuration property used by the framework.
> N.B. Properties are loaded in the order they are defined. So put your
> environment property near the top of your properties block.
> shuns said the following on 11/04/2009 05:36 PM:
> Hi Guys
> I have just downloaded the 1.8 version and that has the new
> environment properties available. I have read through the wiki and
> have not been able to see any data regarding this point, but forgive
> me if this has already been covered somewhere.
> Basically what I would like to know is if the key mach-ii properties
> such as applicationRoot urlBase etc are able to be defined per
> environment?
> This is because they vary from my development to production
> environments. Is this possible?
The MACHII_* variables in the bootstrapper are not Mach-II properties and therefore not interpreted by the environment property. We've talk about ways to let you do this via the environment property but it's sort of a cart before the horse problem because the bootstrapper is what initializes the framework for you.
.pjf
Sumit Verma said the following on 11/06/2009 01:48 PM:
> Net Grow - Shaun said the following on 11/04/2009 06:22 PM:
>> Thanks Peter,
>> That sounds good. I'm guessing where I place the values of the property, I >> would be calling the keys the same name as if they were a root mach-ii >> property for it to all work ok?
>> Regards
>> Shaun
>> ----- Original Message ----- >> From: "Peter J. Farrell" <pe...@mach-ii.com> <mailto:pe...@mach-ii.com>
>> To: <mach-ii-for-coldfusion@googlegroups.com> <mailto:mach-ii-for-coldfusion@googlegroups.com>
>> Sent: Thursday, November 05, 2009 11:11 AM
>> Subject: [Mach-II] Re: Environment Property
>>> The short answer is yes. A property in Mach-II is a property even if
>>> it's a configuration property used by the framework.
>>> N.B. Properties are loaded in the order they are defined. So put your
>>> environment property near the top of your properties block.
>>> shuns said the following on 11/04/2009 05:36 PM:
>>>> Hi Guys
>>>> I have just downloaded the 1.8 version and that has the new
>>>> environment properties available. I have read through the wiki and
>>>> have not been able to see any data regarding this point, but forgive
>>>> me if this has already been covered somewhere.
>>>> Basically what I would like to know is if the key mach-ii properties
>>>> such as applicationRoot urlBase etc are able to be defined per
>>>> environment?
>>>> This is because they vary from my development to production
>>>> environments. Is this possible?