You should contribute to the configuration of ApplicationDefaults to define
symbol values or override Tapestry's values for production:

    public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
configuration)
    {
        configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,fr,de");
        configuration.add(SymbolConstants.PRODUCTION_MODE, "true");
    }

To override these values in dev env you should set VM arguments in your IDE.

-Dtapestry.production-mode=false

On Wed, Apr 28, 2010 at 6:49 AM, Raul Raja Martinez <raulr...@gmail.com>wrote:

> Trying to set tapestry.production-mode=true on latest snapshot, tried
> as filter context param, app module override and env variable and it's
> value is always set to false
> Anybody experience anything similar or seeing this behavior?
> What is the recommended strategy to keep dev and prod with different
> values for tapestry.production-mode,
>
> thanks in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

Reply via email to