You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Tomek <to...@wp.pl> on 2020/04/19 10:44:42 UTC

Multiple configuration for different environments

Hello,

I would like to configure Ofbiz for both development and production 
environment and I would like to switch between them (I need use 
different data source for development environment and different data 
source for production environment etc). What is the proper why to do it?

Tomek


Re: Multiple configuration for different environments

Posted by Tomek <to...@wp.pl>.
Thanks :)

On 19.04.2020 19:46, Michael Brohl wrote:
> Hi Tomek,
>
> this is not easily possible OOTB. For some approaches, see discussion 
> in [1].
>
> We are using a custom configure mechanism which is described in [2]. 
> It is on my todo list to explain it a bit more and provide a 
> patch/proposal for introduction into OFBiz.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
>
> [1] 
> https://lists.apache.org/thread.html/a4d6afc536b33182651f01e25d50ce684d055b4d7aea45e9e15d7c0a%40%3Cdev.ofbiz.apache.org%3E
>
> [2] 
> https://lists.apache.org/thread.html/b95e239250880d9a5b34268b3b711f0f8f7f0540a26bb41c5ced493a@1213087551@%3Cdev.ofbiz.apache.org%3E
>
>
> Am 19.04.20 um 12:44 schrieb Tomek:
>> Hello,
>>
>> I would like to configure Ofbiz for both development and production 
>> environment and I would like to switch between them (I need use 
>> different data source for development environment and different data 
>> source for production environment etc). What is the proper why to do it?
>>
>> Tomek
>>
>

Re: Multiple configuration for different environments

Posted by Michael Brohl <mi...@ecomify.de>.
Hi Tomek,

this is not easily possible OOTB. For some approaches, see discussion in 
[1].

We are using a custom configure mechanism which is described in [2]. It 
is on my todo list to explain it a bit more and provide a patch/proposal 
for introduction into OFBiz.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


[1] 
https://lists.apache.org/thread.html/a4d6afc536b33182651f01e25d50ce684d055b4d7aea45e9e15d7c0a%40%3Cdev.ofbiz.apache.org%3E

[2] 
https://lists.apache.org/thread.html/b95e239250880d9a5b34268b3b711f0f8f7f0540a26bb41c5ced493a@1213087551@%3Cdev.ofbiz.apache.org%3E


Am 19.04.20 um 12:44 schrieb Tomek:
> Hello,
>
> I would like to configure Ofbiz for both development and production 
> environment and I would like to switch between them (I need use 
> different data source for development environment and different data 
> source for production environment etc). What is the proper why to do it?
>
> Tomek
>