Re: Production mode not changing on latest snapshot

2010-05-02 Thread Raul Raja Martinez
Just scanned the project and libraries for usages and matches and it's not declared anywhere else. The only module we use besides our own is the spring tapestry integration module which I could not find anywhere that was using that constant. thanks for the tip though, didn't think about that possib

Re: Production mode not changing on latest snapshot

2010-04-30 Thread Ulrich Stärk
Are you sure that you are not setting the PRODUCTION_MODE symbol to false somewhere else? Try searching your codebase. Are you using some third-party module that is setting it to false? Uli On 30.04.2010 05:53, Raul Raja Martinez wrote: @Inject @Symbol(SymbolConstants.PRODUCTION_MODE) private

Re: Production mode not changing on latest snapshot

2010-04-29 Thread Raul Raja Martinez
@Inject @Symbol(SymbolConstants.PRODUCTION_MODE) private boolean production; This works fine, the problem is that I can only set Production mode to true if I explicitly set a system property... see below... public static void contributeApplicationDefaults(MappedConfiguration configuration) {

Re: Production mode not changing on latest snapshot

2010-04-28 Thread Josh Canfield
> when querying the symbol value it's wrong. How are you getting the value? On Wed, Apr 28, 2010 at 12:20 PM, Raul Raja Martinez wrote: > Already doing that and it seems to take no effect, I can see the > method is getting invoked and I'm setting the value to "true" but then > when querying the

Re: Production mode not changing on latest snapshot

2010-04-28 Thread Raul Raja Martinez
Already doing that and it seems to take no effect, I can see the method is getting invoked and I'm setting the value to "true" but then when querying the symbol value it's wrong. Only by calling System.setProperty(SymbolConstants.PRODUCTION_MODE, "true") seems to work 2010/4/27 Igor Drobiazko : >

Re: Production mode not changing on latest snapshot

2010-04-27 Thread Igor Drobiazko
You should contribute to the configuration of ApplicationDefaults to define symbol values or override Tapestry's values for production: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,fr,

Production mode not changing on latest snapshot

2010-04-27 Thread Raul Raja Martinez
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