You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/02/10 12:26:27 UTC

[jira] Created: (MYFACES-2545) ProjectStage can be set via System Property and ProjectStage!=Production should create a log entry

ProjectStage can be set via System Property and ProjectStage!=Production should create a log entry
--------------------------------------------------------------------------------------------------

                 Key: MYFACES-2545
                 URL: https://issues.apache.org/jira/browse/MYFACES-2545
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-314
    Affects Versions: 2.0.0-beta-2
            Reporter: Jakob Korherr
            Assignee: Jakob Korherr


Copied from the mail from Ed Burns:

PROPOSAL

This will *not* go in the spec, but I propose that existing JSF
implementation coordinate and implement the following behavior.

We introduce a System Property

faces.PROJECT_STAGE

 Rationale for using this name: the context-param for this property is
 "javax.faces.PROJECT_STAGE".  I chose not to use the "javax." prefix
 because doing so would be in poor taste.  The "javax."  prefix is
 intended for things in the specification proper.

 The valid values of this property are exactly as specified in section
 11.1.3.  If the System Property is not one of the valid values, the
 other sources for a value for this property are consulted.

 The implementation will interpret this property as an override for all
 other ways of setting the Application.getProjectStage() property.

In addition to the preceding proposal, the implementation will print out
a very prominent log message such as:

********************************************************************
*** WARNING: JavaServer Faces is running in DEVELOPMENT mode.    ***
***                                         ^^^^^^^^^^^          ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getProjectStage() for more information.      ***
********************************************************************

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MYFACES-2545) ProjectStage can be set via System Property and ProjectStage!=Production should create a log entry

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Korherr resolved MYFACES-2545.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2

> ProjectStage can be set via System Property and ProjectStage!=Production should create a log entry
> --------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2545
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2545
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0-beta-2
>
>
> Copied from the mail from Ed Burns:
> PROPOSAL
> This will *not* go in the spec, but I propose that existing JSF
> implementation coordinate and implement the following behavior.
> We introduce a System Property
> faces.PROJECT_STAGE
>  Rationale for using this name: the context-param for this property is
>  "javax.faces.PROJECT_STAGE".  I chose not to use the "javax." prefix
>  because doing so would be in poor taste.  The "javax."  prefix is
>  intended for things in the specification proper.
>  The valid values of this property are exactly as specified in section
>  11.1.3.  If the System Property is not one of the valid values, the
>  other sources for a value for this property are consulted.
>  The implementation will interpret this property as an override for all
>  other ways of setting the Application.getProjectStage() property.
> In addition to the preceding proposal, the implementation will print out
> a very prominent log message such as:
> ********************************************************************
> *** WARNING: JavaServer Faces is running in DEVELOPMENT mode.    ***
> ***                                         ^^^^^^^^^^^          ***
> *** Do NOT deploy to your live server(s) without changing this.  ***
> *** See Application#getProjectStage() for more information.      ***
> ********************************************************************

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.