czw., 29 maj 2025 o 11:22 Ute Kaiser <ut...@web.de.invalid> napisał(a):
>
> I face the issue that I have to change my struts.xml any time I want to 
> deploy from dev environment to test or production environment.
> Either struts.devMode value=true or false. This might lead to deploying 
> devMode to production by accident.
> Is there an alternative place to set devMode more flexible?
>
> I tried:
> Eclipse (2024-09) Wildfly33 Server Launch Configuration VM arguments 
> -Dstruts.devMode=true but no effect.
> Using ant for build.

You can use value substitution
https://struts.apache.org/core-developers/constant-configuration#value-substitution


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to