Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
👍 thanks Lukasz.. On Wed, Oct 12, 2016 at 4:47 PM, Lukasz Lenart wrote: > 2016-10-12 12:43 GMT+02:00 Sreekanth S. Nair org>: > > Cool 👍 thanks Lukasz, when can we expect this release ? > > Somehow around end of this year, maybe early. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
2016-10-12 12:43 GMT+02:00 Sreekanth S. Nair : > Cool 👍 thanks Lukasz, when can we expect this release ? Somehow around end of this year, maybe early. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscri

Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
Cool 👍 thanks Lukasz, when can we expect this release ? On Wed, Oct 12, 2016 at 3:02 PM, Lukasz Lenart wrote: > and docs > https://cwiki.apache.org/confluence/display/WW/Constant+Configuration# > ConstantConfiguration-Valuesubstitution > > 2016-10-12 11:24 GMT+02:00 Lukasz Lenart : > > Implemen

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
and docs https://cwiki.apache.org/confluence/display/WW/Constant+Configuration#ConstantConfiguration-Valuesubstitution 2016-10-12 11:24 GMT+02:00 Lukasz Lenart : > Implemented > https://issues.apache.org/jira/browse/WW-4698 > > 2016-09-16 9:06 GMT+02:00 Christoph Nenning : >>> Maybe the first step

Re: How to disable devMode in prod

2016-10-12 Thread Lukasz Lenart
Implemented https://issues.apache.org/jira/browse/WW-4698 2016-09-16 9:06 GMT+02:00 Christoph Nenning : >> Maybe the first step should be just simple, use ENV in >> struts.xml/struts.properties >> >> >> >> wdyt? >> >> > > +1 > > > > This Email was scanned by Sophos Anti Virus ---

Re: How to disable devMode in prod

2016-09-16 Thread Christoph Nenning
> Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? > > +1 This Email was scanned by Sophos Anti Virus

Re: How to disable devMode in prod

2016-09-15 Thread Adam Brin
It used to be that you could use an include statements in the struts.xml, e.g. . We used this to allow for different settings in production and development by importing different files. This could be a nice “pair” if you can specify environment variables. - adam -- __

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Would be great to start with :-) -- Thanks & Regards Sreekanth Nair Java Developer On Thu, Sep 15, 2016 at 8:30 PM, Lukasz Lenart wrote: > Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? > > > Regards > -- > Łukasz > + 48 606 323 122 http:/

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
Maybe the first step should be just simple, use ENV in struts.xml/struts.properties wdyt? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addition

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Adding one of my thought, it would be better if we can externalize the System ENV property key name (in Christoph code the key is "environment"), because the application may already having some key to set its environment to prod, staging or dev, etc. eg: if we are using spring its having *spring.pr

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> >> Hi, > >> > >> Do you have a solution to disable devMode in production environment? > >> Based on some ENV variable or something? > > > > Yes, we register a configProvider in web.xml which disables devMode based > > on a system property. > > Can you share source code of the provider? > > D

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
2016-09-15 13:35 GMT+02:00 Christoph Nenning : >> Hi, >> >> Do you have a solution to disable devMode in production environment? >> Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based > on a system property. Can you share source co

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
+1 for this change, it would be wonderful if this can be done. -- Thanks & Regards Sreekanth Nair Java Developer On Thu, Sep 15, 2016 at 5:21 PM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > > >> Hi, > > >> > > >> Do you have a solution to disable devMode in production environme

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> >> Hi, > >> > >> Do you have a solution to disable devMode in production environment? > >> Based on some ENV variable or something? > > > > Yes, we register a configProvider in web.xml which disables devMode based > > on a system property. > > Maybe it would be good to add such feature directly

Re: How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
2016-09-15 13:35 GMT+02:00 Christoph Nenning : >> Hi, >> >> Do you have a solution to disable devMode in production environment? >> Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based > on a system property. Maybe it would be good

Re: How to disable devMode in prod

2016-09-15 Thread Christoph Nenning
> Hi, > > Do you have a solution to disable devMode in production environment? > Based on some ENV variable or something? > > Yes, we register a configProvider in web.xml which disables devMode based on a system property. regards, Christoph This Email was scanned by Sophos Anti Virus

How to disable devMode in prod

2016-09-15 Thread Lukasz Lenart
Hi, Do you have a solution to disable devMode in production environment? Based on some ENV variable or something? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.a