myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Setting CODI project stage
Date Mon, 08 Oct 2012 12:55:33 GMT
Hi Ludovic!

I'm using -Dfaces.PROJECT_STAGE=Development which works perfectly.

In production we have set it via JNDI in tomcats conf/context.xml:

    <Environment name="jsf/ProjectStage" value="SystemTest" 
          type="java.lang.String" override="false"/>

LieGrue,
strub




----- Original Message -----
> From: "l.penet@senat.fr" <l.penet@senat.fr>
> To: MyFaces Discussion <users@myfaces.apache.org>
> Cc: 
> Sent: Monday, October 8, 2012 2:07 PM
> Subject: Setting CODI project stage
> 
> Hi.
> 
> How can I configure the CODI project stage ? I crawled the doc but found 
> nothing. In the 
> org/apache/myfaces/extensions/cdi/core/api/projectstage/ProjectStage.java source 
> file, I found the following doc :
> 
> 53  * <p>The following resolution mechanism is used to determine the 
> current ProjectStage:
> 54  * <ul>
> 55  *  <li>TODO specify!</li>
> 56  * </ul>
> 57  * </p>
> 
> I tried to define javax.faces.PROJECT_STAGE=Development as a system property, as 
> found on stackoverflow.com, but this does not seem to work.
> 
> Thanks in advance for your help.
> 
> Ludovic
> 
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
> 

Mime
View raw message